OpenSSL 4.0.2 (and 3.5.8 if you are on the “long term” version) just arrived to ...

@pducklin@infosec.exchange

OpenSSL 4.0.2 (and 3.5.8 if you are on the “long term” version) just arrived to patch various security bugs.

You can spend a week or seven desperately trying to track down whether you own code can ever reach the updated code - if you control your own OpenSSL build, and exclude everything you don’t need, which is more effort than many people are willing to expend, TBH, you might be able to do that reliably - or you can just fetch and rebuild with the new version.

No bugs were rated worse than Moderate, but there is at least one intriguing fix, where two AEAD ciphers (in other words, crypto with built-in keyed authentication via a hash computed in parallel with encryption/decryption) would always “approve” an empty ciphertext during decryption, even if you sent in a bogus authentication hash.

Not easy to exploit, perhaps, but this bug could allow an attacker to provide a fake input buffer for decryption that would apparently pass its AEAD test. Remember that even the empty string has one and only one valid AEAD hash for any given key. “Nothing” is often a valid input, and should be subject to the same level of validation on decryption as any other plaintext string!