{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3345 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-3345 is a high-severity memory corruption vulnerability in Oracle Communications Billing and Revenue Management, published on 29 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3345 and fix it if it is affected.\n\nWhat it is: CVE-2021-3345 is a high-severity memory corruption vulnerability in Oracle Communications Billing and Revenue Management, published on 29 Jan 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3345 in the wild and no public exploit code.\n\nAffected product: Oracle Communications Billing and Revenue Management. 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-2021-3345/ (Markdown: https://insights.sbomify.com/CVE-2021-3345/index.md)","id":"CVE-2021-3345","markdown":"https://insights.sbomify.com/CVE-2021-3345/index.md","name":"CVE-2021-3345","record":{"aliases":["GHSA-pf53-rq8f-rwqx"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Libgcrypt crypto library","requires_auth":"low_privilege","summary":"A heap-based buffer overflow in Libgcrypt allows attackers to execute arbitrary code or cause denial of service via crafted digest final functions.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libgcrypt","vendor":"gnupg"},{"product":"communications_billing_and_revenue_management","vendor":"oracle"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2021-01-31","github_poc":2,"max_poc_stars":9,"metasploit":0,"nuclei":0,"refs":[{"date":"2021-01-31T09:28:14Z","kind":"github_poc","ref":"https://github.com/MLGRadish/CVE-2021-3345","stars":9,"title":"POC exploit of CVE-2021-3345, a vulnerability in libgcrypt version 1.9.0"},{"date":"2024-02-29T22:05:44Z","kind":"github_poc","ref":"https://github.com/SpiralBL0CK/CVE-2021-3345","stars":3,"title":"Actual working exploit for CVE-2021-3345"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2021-3345","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"oracle:communications_billing_and_revenue_management","products":["oracle:communications_billing_and_revenue_management"],"type":"memory_corruption","year":"2021"},"n_packages":0,"n_references":6,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2021-3346"},"packages":[],"prev":{"headline":"Privilege escalation in openshift/builder","id":"CVE-2021-3344"},"products":["n/a"],"published":"2021-01-29","related":[{"cvss_score":7.5,"headline":"Weak cryptography in n/a","id":"CVE-2018-6829","kev_date_added":null,"published":"2018-02-07"},{"cvss_score":6.7,"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41989","kev_date_added":null,"published":"2026-04-23"},{"cvss_score":5.9,"headline":"Weak cryptography in n/a","id":"CVE-2021-40528","kev_date_added":null,"published":"2021-09-06"},{"cvss_score":5.9,"headline":"Information disclosure in n/a","id":"CVE-2019-12904","kev_date_added":null,"published":"2019-06-19"},{"cvss_score":5.9,"headline":"Information disclosure in n/a","id":"CVE-2017-9526","kev_date_added":null,"published":"2017-06-11"},{"cvss_score":4,"headline":"Memory corruption in Libgcrypt","id":"CVE-2026-41990","kev_date_added":null,"published":"2026-04-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"A heap-based buffer overflow in Libgcrypt allows attackers to execute arbitrary code or cause denial of service via crafted digest final functions.","url":"https://insights.sbomify.com/CVE-2021-3345/"}