{"answers":{"affected":"18 open source packages ship an affected version, including org.bouncycastle:bcpkix-jdk18on, org.bouncycastle:bcprov-ext-jdk15on and org.bouncycastle:bcprov-ext-jdk16. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-33202 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcpkix-jdk18on to 1.73 or later.","what":"CVE-2023-33202 is a medium-severity denial of service vulnerability in n/a, published on 23 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-33202 and fix it if it is affected.\n\nWhat it is: CVE-2023-33202 is a medium-severity denial of service vulnerability in n/a, published on 23 Nov 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-33202 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcpkix-jdk18on (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcpkix-jdk18on (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.73\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; no fix listed\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; no fix listed\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-33202/ (Markdown: https://insights.sbomify.com/CVE-2023-33202/index.md)","id":"CVE-2023-33202","markdown":"https://insights.sbomify.com/CVE-2023-33202/index.md","name":"CVE-2023-33202","record":{"aliases":["DEBIAN-CVE-2023-33202","GHSA-wjxj-5m7g-mg7q","MINI-mhr8-9463-gwp2","MINI-mxj5-7g88-hmg8","MINI-wqjr-hq5f-5mf2","ROOT-APP-MAVEN-CVE-2023-33202","UBUNTU-CVE-2023-33202"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can cause a denial of service via crafted ASN.1 data in PEM files, affecting applications using the Bouncy Castle Java library.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"bouncy_castle_for_java","vendor":"bouncycastle"},{"product":"fips_java_api","vendor":"bouncycastle"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Bouncy Castle for Java before 1.73 contains a potential Denial of Service (DoS) issue within the Bouncy Castle org.bouncycastle.openssl.PEMParser class. This class parses OpenSSL PEM encoded streams containing X.509 certificates, PKCS8 encoded keys, and PKCS7 objects. Parsing a file that has crafted ASN.1 data through the PEMParser causes an OutOfMemoryError, which can enable a denial of service attack. (For users of the FIPS Java API: BC-FJA 1.0.2.3 and earlier are affected; BC-FJA 1.0.2.4 is fixed.)","ecosystems":["Maven"],"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":"Bouncy Castle Denial of Service (DoS)","id":"CVE-2023-33202","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":18,"n_references":4,"next":{"headline":"Use after free in n/a","id":"CVE-2023-33203"},"packages":[{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpkix-jdk18on","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcpkix-jdk18on","purl":"pkg:maven/org.bouncycastle/bcpkix-jdk18on","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15on","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk16","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-jdk16","source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":null,"source":"GHSA-wjxj-5m7g-mg7q"},{"ecosystem":"Maven","fixed":["1.73"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk18on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk18on","source":"GHSA-wjxj-5m7g-mg7q"}],"prev":{"headline":"Bouncy Castle For Java LDAP injection vulnerability","id":"CVE-2023-33201"},"products":["n/a"],"published":"2023-11-23","related":[],"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":"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-08-18","vendors":["n/a"]},"summary":"Attackers can cause a denial of service via crafted ASN.1 data in PEM files, affecting applications using the Bouncy Castle Java library.","url":"https://insights.sbomify.com/CVE-2023-33202/"}