|
|
Log in / Subscribe / Register

A remotely exploitable OpenSSL/LibreSSL vulnerability

The OpenSSL project has disclosed a vulnerability wherein an attacker presenting a malicious certificate can cause the execution of an infinite loop. It is thus a denial-of-service vulnerability for any application — server or client — that handles certificates from untrusted sources. The OpenSSL 3.0.2 and 1.1.1n releases contain fixes for the problem. This advisory makes it clear that LibreSSL, too, suffers from this vulnerability; updated releases are available there too.

to post comments

A remotely exploitable OpenSSL/LibreSSL vulnerability

Posted Mar 16, 2022 8:13 UTC (Wed) by rsidd (guest, #2582) [Link]

The LibreSSL announcement looks a bit... sparse. They could at least have linked to a more detailed advisory.

A remotely exploitable OpenSSL/LibreSSL vulnerability

Posted Mar 16, 2022 15:13 UTC (Wed) by kleptog (subscriber, #1183) [Link] (2 responses)

Near as I can tell it's deep in the EC magic.

https://github.com/openssl/openssl/commit/9eafb53614bf657...

It's not entirely clear how this could loop infinitely, since i is increasing. But if e=1 going into the loop and that's the only value for which BN_is_one() is going to return true, it could be going for a while until i loops around.

A remotely exploitable OpenSSL/LibreSSL vulnerability

Posted Mar 16, 2022 16:27 UTC (Wed) by tialaramex (subscriber, #21167) [Link] (1 responses)

I think it can loop infinitely because this is all happening inside a while(1) loop. If the conditions are impossible the loop never exits, it just pointlessly repeats the work forever.

It's all made much more confusing by the fact that so much of the control flow logic is goto. Errors? Goto. Success? Goto. Special cases: Goto. Why did we bother coming up with other control flows, clearly we should take a cue from the CPU and only have jumps...

A remotely exploitable OpenSSL/LibreSSL vulnerability

Posted Mar 16, 2022 17:15 UTC (Wed) by kleptog (subscriber, #1183) [Link]

Oh, right you have to look a level up.

On the plus side, the patch replaced one of the goto's with a break, so there's progress /s

A remotely exploitable OpenSSL/LibreSSL vulnerability

Posted Mar 23, 2022 23:20 UTC (Wed) by WhatsInAName (guest, #128037) [Link]

An exploitable vulnerability in OpenSSL is really no news. LibreSSL? Maybe.


Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds