{"answers":{"affected":"16 open source packages ship an affected version, including org.bouncycastle:bc-fips, org.bouncycastle:bcprov-ext-jdk15on and org.bouncycastle:bcprov-ext-jdk16. It affects 2 products.","exploited":"There is no known exploitation of CVE-2020-26939 in the wild and no public exploit code.","fix":"Upgrade org.bouncycastle:bc-fips to 1.0.2 or later.","what":"CVE-2020-26939 is a medium-severity vulnerability in n/a, published on 2 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-26939 and fix it if it is affected.\n\nWhat it is: CVE-2020-26939 is a medium-severity vulnerability in n/a, published on 2 Nov 2020. 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-2020-26939 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2\n- org.bouncycastle:bc-fips (Maven): affected all versions; fixed in 1.0.2\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-ext-jdk15on (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-ext-jdk16 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk14 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk15 (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.61\n- org.bouncycastle:bcprov-jdk15on (Maven): affected all versions; fixed in 1.61\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-2020-26939/ (Markdown: https://insights.sbomify.com/CVE-2020-26939/index.md)","id":"CVE-2020-26939","markdown":"https://insights.sbomify.com/CVE-2020-26939/index.md","name":"CVE-2020-26939","record":{"aliases":["DEBIAN-CVE-2020-26939","DLA-2433-1","GHSA-72m5-fvvv-55m6","UBUNTU-CVE-2020-26939"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java cryptography library","requires_auth":"none","summary":"Attackers can leak private RSA key information via timing differences in OAEP decoding errors in the Bouncy Castle library.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fips_java_api","vendor":"bouncycastle"},{"product":"legion-of-the-bouncy-castle","vendor":"bouncycastle"}],"cvss":{"score":5.3,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-203","name":"Observable Discrepancy"}],"description":"In Legion of the Bouncy Castle BC before 1.61 and BC-FJA before 1.0.1.2, attackers can obtain sensitive information about a private exponent because of Observable Differences in Behavior to Error Inputs. This occurs in org.bouncycastle.crypto.encodings.OAEPEncoding. Sending invalid ciphertext that decrypts to a short payload in the OAEP Decoder could result in the throwing of an early exception, potentially leaking some information about the private exponent of the RSA private key performing the encryption.","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":"Observable Differences in Behavior to Error Inputs in Bouncy Castle","id":"CVE-2020-26939","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2020"},"n_packages":16,"n_references":2,"next":{"headline":"Path traversal in n/a","id":"CVE-2020-26941"},"packages":[{"ecosystem":"Maven","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.0.2"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bc-fips","purl":"pkg:maven/org.bouncycastle/bc-fips","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk15on","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-ext-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-ext-jdk16","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk14","purl":"pkg:maven/org.bouncycastle/bcprov-jdk14","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15on","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15on","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk15to18","purl":"pkg:maven/org.bouncycastle/bcprov-jdk15to18","source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":null,"source":"GHSA-72m5-fvvv-55m6"},{"ecosystem":"Maven","fixed":["1.61"],"introduced":["0"],"last_affected":[],"package":"org.bouncycastle:bcprov-jdk16","purl":"pkg:maven/org.bouncycastle/bcprov-jdk16","source":"GHSA-72m5-fvvv-55m6"}],"prev":{"headline":"oauth2-server through 3.1.1 vulnerable to Open Redirect","id":"CVE-2020-26938"},"products":["n/a"],"published":"2020-11-02","related":[{"cvss_score":5.5,"headline":"Garbage collection issue in BC-FJA in Java 13 and later","id":"CVE-2022-45146","kev_date_added":null,"published":"2022-11-21"}],"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-04","vendors":["n/a"]},"summary":"Attackers can leak private RSA key information via timing differences in OAEP decoding errors in the Bouncy Castle library.","url":"https://insights.sbomify.com/CVE-2020-26939/"}