{"id":"CVE-2024-37305","published":"2024-06-17T19:42:22Z","modified":"2024-08-02T03:50:56Z","title":"Buffer overflow in deserialization in oqs-provider","vendor":"open-quantum-safe","product":"oqs-provider","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00808,"percentile":0.53755,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow"},{"id":"CWE-805","name":"Buffer Access with Incorrect Length Value"}],"references":[{"url":"https://github.com/open-quantum-safe/oqs-provider/security/advisories/GHSA-pqvr-5cr8-v6fx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/open-quantum-safe/oqs-provider/pull/416","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":10.75},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"open-quantum-safe","affectedVersions":[{"vendor":"open-quantum-safe","product":"oqs-provider","versions":["< 0.6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-18T13:31:38.141442Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36566","exploited":false,"provenance":"source"}}