r/programming • • Apr 09 '14
Theo de Raadt: "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"
[deleted] — view deleted post
2.0k
Upvotes
r/programming • • Apr 09 '14
[deleted] — view deleted post
View all comments
Show parent comment
-9
u/drguildo Apr 09 '14
No, it isn't. C is an extremely basic (it's referred to as high-level assembler for a reason) and potentially dangerous language and the vast majority of programming problems it's used for would be much better served by a language that is performant enough to tackle them but without the security problems.
It kind of was, and anyway I was referring to both that and the original bug (and all the other myriad bugs caused by "features" of the C language)
The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remote attackers to obtain sensitive information from process memory via crafted packets that trigger a buffer over-read
Being able to read past the end of an array is a design "feature" of the C language.
The problems (the original bug and the malloc fuck-up) shouldn't need to be mitigated.