{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2023-6237 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-6237 is a medium-severity denial of service vulnerability in OpenSSL, published on 25 Apr 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-2023-6237 and fix it if it is affected.\n\nWhat it is: CVE-2023-6237 is a medium-severity denial of service vulnerability in OpenSSL, published on 25 Apr 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-2023-6237 in the wild and no public exploit code.\n\nAffected product: OpenSSL. 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-2023-6237/ (Markdown: https://insights.sbomify.com/CVE-2023-6237/index.md)","id":"CVE-2023-6237","markdown":"https://insights.sbomify.com/CVE-2023-6237/index.md","name":"CVE-2023-6237","record":{"aliases":["ALPINE-CVE-2023-6237","AZL-39946","AZL-39961","AZL-39968","AZL-42688","AZL-42727","AZL-47670","AZL-78561","BELL-CVE-2023-6237","CLEANSTART-2026-DK63420","CLSA-2025-1741787087","DEBIAN-CVE-2023-6237","GHSA-hvc4-mjv4-5mw6","JLSEC-2026-246","UBUNTU-CVE-2023-6237"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL library","requires_auth":"none","summary":"Attackers can cause denial of service by providing excessively long invalid RSA public keys to applications using OpenSSL's EVP_PKEY_public_check function.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-606","name":"Unchecked Input for Loop Condition"}],"description":"Issue summary: Checking excessively long invalid RSA public keys may take\na long time.\n\nImpact summary: Applications that use the function EVP_PKEY_public_check()\nto check RSA public keys may experience long delays. Where the key that\nis being checked has been obtained from an untrusted source this may lead\nto a Denial of Service.\n\nWhen function EVP_PKEY_public_check() is called on RSA public keys,\na computation is done to confirm that the RSA modulus, n, is composite.\nFor valid RSA keys, n is a product of two or more large primes and this\ncomputation completes quickly. However, if n is an overly large prime,\nthen this computation would take a long time.\n\nAn application that calls EVP_PKEY_public_check() and supplies an RSA key\nobtained from an untrusted source could be vulnerable to a Denial of Service\nattack.\n\nThe function EVP_PKEY_public_check() is not called from other OpenSSL\nfunctions however it is called from the OpenSSL pkey command line\napplication. For that reason that application is also vulnerable if used\nwith the '-pubin' and '-check' options on untrusted data.\n\nThe OpenSSL SSL/TLS implementation is not affected by this issue.\n\nThe OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.","ecosystems":[],"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":"Excessive time spent checking invalid RSA public keys","id":"CVE-2023-6237","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":0,"n_references":4,"next":{"headline":"Kernel: nvme: memory corruption via unprivileged user passthrough","id":"CVE-2023-6238"},"packages":[],"prev":{"headline":"Eap: oidc app attempting to access the second tenant, the user should be prompted to log","id":"CVE-2023-6236"},"products":["OpenSSL"],"published":"2024-04-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2026-10-14","vendors":["OpenSSL"]},"summary":"Attackers can cause denial of service by providing excessively long invalid RSA public keys to applications using OpenSSL's EVP_PKEY_public_check function.","url":"https://insights.sbomify.com/CVE-2023-6237/"}