News for hackers. Stuff that matters.
Re:TCG TPM2.0 implementations vulnerable to memory corruption by londons_explore on Tuesday February 28, 2023 @05:26PM (#34975812)
It took 4 years to notice a memory corruption bug in the reference implementation of the main security solution deployed in 1 billion+ computers...
Re:TCG TPM2.0 implementations vulnerable to memory corruption by d18g on Tuesday February 28, 2023 @06:26PM (#34976419)
you can assume in good faith that this is barely used feature generally but also most implementations are not really vulnerable so they might have checked but couldn't find anything actually wrong, so there might have been a tremendous amount of effort to actually secure most implementation, on the other hand...
Re:TCG TPM2.0 implementations vulnerable to memory corruption by d18g on Wednesday March 01, 2023 @01:36PM (#34986454)
Got it why I was downvoted. But honestly don't get why parent is the most voted comment on this thread. Maybe I am just super dumb ...
Re:TCG TPM2.0 implementations vulnerable to memory corruption by mcint on Tuesday February 28, 2023 @08:07PM (#34977403)
I guess they should've written in rust.

If nothing else, arguing about "unsafe" between managers, or even lawyers, between orgs, would be fruitful in new ways.

Re:TCG TPM2.0 implementations vulnerable to memory corruption by gjsman-1000 on Tuesday February 28, 2023 @09:13PM (#34977903)
TPM 2.0 first appeared on the market in 2014. Rust first appeared in 2015. And Rust took a while to become a mature system. TPM 2.0 was also an improved version of TPM 1.2, which came out in 2009.

So... maybe if Rust was a decade earlier.

Re:TCG TPM2.0 implementations vulnerable to memory corruption by mcint on Tuesday February 28, 2023 @09:35PM (#34978058)
Announced then, sure, that's a fine cutoff date. It did show clear promise before then in servo.

Rust can still be a standard going forward.

Better tools, better programs, Rust lang.

Re:TCG TPM2.0 implementations vulnerable to memory corruption by amluto on Wednesday March 01, 2023 @04:18AM (#34980329)
For something like TPM, IMO, using a memory safe architecture should be table stakes nowadays. I would go further: the design should be as simple as possible to achieve its requirements, and the implementation should be formally verified.