{"answers":{"affected":"3 open source packages ship an affected version, including openssl-src. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-4203 in the wild and no public exploit code.","fix":"Upgrade openssl-src to 300.0.12 or later.","what":"CVE-2022-4203 is a medium-severity memory corruption vulnerability in Openssl Openssl, published on 24 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-4203 and fix it if it is affected.\n\nWhat it is: CVE-2022-4203 is a medium-severity memory corruption vulnerability in Openssl Openssl, published on 24 Feb 2023. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-4203 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.12\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.12\n- openssl-src (crates.io): affected from 300.0.0; fixed in 300.0.12\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-2022-4203/ (Markdown: https://insights.sbomify.com/CVE-2022-4203/index.md)","id":"CVE-2022-4203","markdown":"https://insights.sbomify.com/CVE-2022-4203/index.md","name":"CVE-2022-4203","record":{"aliases":["ALPINE-CVE-2022-4203","CLEANSTART-2026-GM39950","DEBIAN-CVE-2022-4203","GHSA-w67w-mw4j-8qrv","RUSTSEC-2023-0008","UBUNTU-CVE-2022-4203"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenSSL library","requires_auth":"high_privilege","summary":"A buffer overrun in OpenSSL's X.509 name constraint checking allows attackers to cause denial of service or potentially disclose memory contents.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openssl","cpe":[{"product":"openssl","vendor":"openssl"}],"cvss":{"score":4.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"A read buffer overrun can be triggered in X.509 certificate verification,\nspecifically in name constraint checking. Note that this occurs\nafter certificate chain signature verification and requires either a\nCA to have signed the malicious certificate or for the application to\ncontinue certificate verification despite failure to construct a path\nto a trusted issuer.\n\nThe read buffer overrun might result in a crash which could lead to\na denial of service attack. In theory it could also result in the disclosure\nof private memory contents (such as private keys, or sensitive plaintext)\nalthough we are not aware of any working exploit leading to memory\ncontents disclosure as of the time of release of this advisory.\n\nIn a TLS client, this can be triggered by connecting to a malicious\nserver. In a TLS server, this can be triggered if the server requests\nclient authentication and a malicious client connects.","ecosystems":["crates.io"],"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":"X.509 Name Constraints Read Buffer Overflow","id":"CVE-2022-4203","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":"openssl:openssl","products":["openssl:openssl"],"type":"memory_corruption","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"Other in GitLab","id":"CVE-2022-4205"},"packages":[{"ecosystem":"crates.io","fixed":["300.0.12"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":null,"source":"GHSA-w67w-mw4j-8qrv"},{"ecosystem":"crates.io","fixed":["300.0.12"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"GHSA-w67w-mw4j-8qrv"},{"ecosystem":"crates.io","fixed":["300.0.12"],"introduced":["300.0.0"],"last_affected":[],"package":"openssl-src","purl":"pkg:cargo/openssl-src","source":"RUSTSEC-2023-0008"}],"prev":{"headline":"GPAC lsr_dec.c lsr_translate_coords integer overflow","id":"CVE-2022-4202"},"products":["OpenSSL"],"published":"2023-02-24","related":[{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2009-3245","kev_date_added":null,"published":"2010-03-05"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2006-3738","kev_date_added":null,"published":"2006-09-28"},{"cvss_score":9.8,"headline":"Untrusted Sender DN Used as Format String in CMP Response Validation","id":"CVE-2026-63073","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-6309","kev_date_added":null,"published":"2016-09-26"},{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2016-0799","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-2842","kev_date_added":null,"published":"2016-03-03"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2003-0545","kev_date_added":null,"published":"2003-10-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2025-11-04","vendors":["OpenSSL"]},"summary":"A buffer overrun in OpenSSL's X.509 name constraint checking allows attackers to cause denial of service or potentially disclose memory contents.","url":"https://insights.sbomify.com/CVE-2022-4203/"}