{"answers":{"affected":"6 open source packages ship an affected version, including org.bouncycastle:bcprov-jdk14, org.bouncycastle:bcprov-jdk15 and org.bouncycastle:bcprov-jdk15on. It affects 5 products.","exploited":"There is no known exploitation of CVE-2016-1000338 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bcprov-jdk14 to 1.56 or later.","what":"CVE-2016-1000338 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 1 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2016-1000338 and fix it if it is affected.\n\nWhat it is: CVE-2016-1000338 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 1 Jun 2018. 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-2016-1000338 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.38; fixed in 1.56\n- org.bouncycastle:bcprov-jdk14 (Maven): affected from 1.38; fixed in 1.56\n- org.bouncycastle:bcprov-jdk15 (Maven): affected from 1.38; fixed in 1.56\n- org.bouncycastle:bcprov-jdk15 (Maven): affected from 1.38; fixed in 1.56\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.38; fixed in 1.56\n- org.bouncycastle:bcprov-jdk15on (Maven): affected from 1.38; fixed in 1.56\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-2016-1000338/ (Markdown: https://insights.sbomify.com/CVE-2016-1000338/index.md)","id":"CVE-2016-1000338","markdown":"https://insights.sbomify.com/CVE-2016-1000338/index.md","name":"CVE-2016-1000338","record":{"aliases":["DEBIAN-CVE-2016-1000338","GHSA-4vhj-98r6-424h","UBUNTU-CVE-2016-1000338"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can inject invisible data into signed structures by exploiting insufficient ASN.1 validation in DSA signatures, compromising data integrity.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"legion-of-the-bouncy-castle-java-crytography-api","vendor":"bouncycastle"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"7-mode_transition_tool","vendor":"netapp"},{"product":"satellite","vendor":"redhat"},{"product":"satellite_capsule","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"In Bouncy Castle JCE Provider version 1.55 and earlier the DSA does not fully validate ASN.1 encoding of signature on verification. It is possible to inject extra elements in the sequence making up the signature and still have it validate, which in some cases may allow the introduction of 'invisible' data into a signed structure.","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":"In Bouncy Castle JCE Provider it is possible to inject extra elements in the sequence making up the signature and still have it validate","id":"CVE-2016-1000338","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","netapp:7-mode_transition_tool","redhat:satellite"],"type":"other","year":"2016"},"n_packages":6,"n_references":8,"next":{"headline":"Moderate severity vulnerability that affects org.bouncycastle:bcprov-jdk14 and org.bouncycastle:bcprov-jdk15","id":"CVE-2016-1000339"},"packages":[{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-4vhj-98r6-424h"},{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-4vhj-98r6-424h"},{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-4vhj-98r6-424h"},{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","source":"GHSA-4vhj-98r6-424h"},{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-4vhj-98r6-424h"},{"ecosystem":"Maven","fixed":["1.56"],"introduced":["1.38"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-4vhj-98r6-424h"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2016-1000307"},"products":["n/a"],"published":"2018-06-01","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can inject invisible data into signed structures by exploiting insufficient ASN.1 validation in DSA signatures, compromising data integrity.","url":"https://insights.sbomify.com/CVE-2016-1000338/"}