{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-37305 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-37305 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-37305 in the wild and no public exploit code.\n\nAffected product: open-quantum-safe oqs-provider. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-37305/ (Markdown: https://insights.sbomify.com/CVE-2024-37305/index.md)","id":"CVE-2024-37305","markdown":"https://insights.sbomify.com/CVE-2024-37305/index.md","name":"CVE-2024-37305","record":{"aliases":["GHSA-pqvr-5cr8-v6fx","openSUSE-SU-2024:14054-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL post-quantum provider","requires_auth":"none","summary":"Attackers can cause crashes or leak information via malformed hybrid keys in the oqs-provider library for OpenSSL.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-805","name":"Buffer Access with Incorrect Length Value"},{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-130","name":"Improper Handling of Length Parameter Inconsistency"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"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.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Buffer overflow in deserialization in oqs-provider","id":"CVE-2024-37305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":1,"n_references":2,"next":{"headline":"CVAT's export and backup-related API endpoints are susceptible to CSRF","id":"CVE-2024-37306"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.6.1-1.1"],"introduced":["0"],"last_affected":[],"package":"oqs-provider","purl":"pkg:rpm/opensuse/oqs-provider\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:14054-1"}],"prev":{"headline":"NuGetGallery's Markdown Autolinks Processing Vulnerable to Cross-site Scripting","id":"CVE-2024-37304"},"products":["oqs-provider"],"published":"2024-06-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["open-quantum-safe"]},"summary":"Attackers can cause crashes or leak information via malformed hybrid keys in the oqs-provider library for OpenSSL.","url":"https://insights.sbomify.com/CVE-2024-37305/"}