CVE-2024-37305 Buffer overflow in deserialization in oqs-provider
Attackers can cause crashes or leak information via malformed hybrid keys in the oqs-provider library for OpenSSL.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37305?
CVE-2024-37305 is a high-severity memory corruption vulnerability in open-quantum-safe oqs-provider, published on 17 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
oqs-provider is a provider for the OpenSSL 3 cryptography library that adds support for post-quantum cryptography in TLS, X.509, and S/MIME using post-quantum algorithms from liboqs. Flaws have been identified in the way oqs-provider handles lengths decoded with DECODE_UINT32 at the start of serialized hybrid (traditional + post-quantum) keys and signatures. Unchecked length values are later used for memory reads and writes; malformed input can lead to crashes or information leakage. Handling of plain/non-hybrid PQ key operation is not affected. This issue has been patched in in v0.6.1. All users are advised to upgrade. There are no workarounds for this issue.
Which versions are affected by CVE-2024-37305?
Linux distribution packages (1)
oqs-provider openSUSE:Tumbleweed | All versions | 0.6.1-1.1 |
How do I fix CVE-2024-37305?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-37305 being exploited?
There is no known exploitation of CVE-2024-37305 in the wild and no public exploit code.
Sources
Also known as GHSA-pqvr-5cr8-v6fx, openSUSE-SU-2024:14054-1.