{"answers":{"affected":"3 open source packages ship an affected version, including github.com/proglottis/gpgme. It affects 9 products.","exploited":"There is no known exploitation of CVE-2020-8945 in the wild and no public exploit code.","fix":"Upgrade github.com/proglottis/gpgme to 0.1.1 or later.","what":"CVE-2020-8945 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 12 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-8945 and fix it if it is affected.\n\nWhat it is: CVE-2020-8945 is a high-severity use after free vulnerability in Fedoraproject Fedora, published on 12 Feb 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-8945 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/proglottis/gpgme (Go): affected all versions; fixed in 0.1.1\n- github.com/proglottis/gpgme (Go): affected all versions; fixed in 0.1.1\n- github.com/proglottis/gpgme (Go): affected all versions; fixed in 0.1.1\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-8945/ (Markdown: https://insights.sbomify.com/CVE-2020-8945/index.md)","id":"CVE-2020-8945","markdown":"https://insights.sbomify.com/CVE-2020-8945/index.md","name":"CVE-2020-8945","record":{"aliases":["DEBIAN-CVE-2020-8945","GHSA-m6wg-2mwg-4rfq","GO-2021-0096","RHBA-2020:1255","RHSA-2020:0679","RHSA-2020:0689","RHSA-2020:0697","RHSA-2020:0928","RHSA-2020:1230","RHSA-2020:1231","RHSA-2020:2027","UBUNTU-CVE-2020-8945"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Go GPGME wrapper","requires_auth":"none","summary":"A use-after-free in the proglottis Go wrapper for GPGME allows attackers to cause crashes or execute code during signature verification.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"gpgme","vendor":"gpgme_project"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"},{"product":"openshift_container_platform_for_ibm_z","vendor":"redhat"},{"product":"openshift_container_platform_for_linuxone","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"The proglottis Go wrapper before 0.1.1 for the GPGME library has a use-after-free, as demonstrated by use for container image pulls by Docker or CRI-O. This leads to a crash or potential code execution during GPG signature verification.","ecosystems":["Go","Red Hat:openshift:4.1::el8","Red Hat:openshift:4.2::el8","Red Hat:openshift:4.3::el7","Red Hat:openshift:4.3::el8","Red Hat:rhel_extras_other:7"],"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":"GPGME Go wrapper contains Use After Free","id":"CVE-2020-8945","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"fedoraproject:fedora","products":["fedoraproject:fedora","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation","redhat:openshift_container_platform"],"type":"use_after_free","year":"2020"},"n_packages":32,"n_references":11,"next":{"headline":"Command injection in n/a","id":"CVE-2020-8946"},"packages":[{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/proglottis/gpgme","purl":null,"source":"GHSA-m6wg-2mwg-4rfq"},{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/proglottis/gpgme","purl":"pkg:golang/github.com/proglottis/gpgme","source":"GHSA-m6wg-2mwg-4rfq"},{"ecosystem":"Go","fixed":["0.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/proglottis/gpgme","purl":"pkg:golang/github.com/proglottis/gpgme","source":"GO-2021-0096"},{"ecosystem":"Red Hat:openshift:4.1::el8","fixed":["1:0.1.32-6.git1715c90.el8_0"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/redhat/containers-common","source":"RHSA-2020:0697"},{"ecosystem":"Red Hat:openshift:4.1::el8","fixed":["1:0.1.32-6.git1715c90.el8_0"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/redhat/skopeo","source":"RHSA-2020:0697"},{"ecosystem":"Red Hat:openshift:4.1::el8","fixed":["1:0.1.32-6.git1715c90.el8_0"],"introduced":["0"],"last_affected":[],"package":"skopeo-debuginfo","purl":"pkg:rpm/redhat/skopeo-debuginfo","source":"RHSA-2020:0697"},{"ecosystem":"Red Hat:openshift:4.1::el8","fixed":["1:0.1.32-6.git1715c90.el8_0"],"introduced":["0"],"last_affected":[],"package":"skopeo-debugsource","purl":"pkg:rpm/redhat/skopeo-debugsource","source":"RHSA-2020:0697"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["1:0.1.32-7.git1715c90.rhaos4.2.el8"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/redhat/containers-common","source":"RHSA-2020:0689"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["0:4.2.32-202005020632.git.1.1b0fab9.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-clients","purl":"pkg:rpm/redhat/openshift-clients","source":"RHSA-2020:2027"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["0:4.2.32-202005020632.git.1.1b0fab9.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-clients-redistributable","purl":"pkg:rpm/redhat/openshift-clients-redistributable","source":"RHSA-2020:2027"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["1:0.1.32-7.git1715c90.rhaos4.2.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/redhat/skopeo","source":"RHSA-2020:0689"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["1:0.1.32-7.git1715c90.rhaos4.2.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo-debuginfo","purl":"pkg:rpm/redhat/skopeo-debuginfo","source":"RHSA-2020:0689"},{"ecosystem":"Red Hat:openshift:4.2::el8","fixed":["1:0.1.32-7.git1715c90.rhaos4.2.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo-debugsource","purl":"pkg:rpm/redhat/skopeo-debugsource","source":"RHSA-2020:0689"},{"ecosystem":"Red Hat:openshift:4.3::el7","fixed":["0:1.16.4-1.dev.rhaos4.3.git9238eee.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2020:1255"},{"ecosystem":"Red Hat:openshift:4.3::el7","fixed":["0:1.16.4-1.dev.rhaos4.3.git9238eee.el7"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2020:1255"},{"ecosystem":"Red Hat:openshift:4.3::el7","fixed":["0:4.3.7-202003130552.git.0.6027a27.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-clients","purl":"pkg:rpm/redhat/openshift-clients","source":"RHSA-2020:0928"},{"ecosystem":"Red Hat:openshift:4.3::el7","fixed":["0:4.3.7-202003130552.git.0.6027a27.el7"],"introduced":["0"],"last_affected":[],"package":"openshift-clients-redistributable","purl":"pkg:rpm/redhat/openshift-clients-redistributable","source":"RHSA-2020:0928"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["1:0.1.40-4.rhaos.el8"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/redhat/containers-common","source":"RHSA-2020:0679"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["0:1.16.4-1.dev.rhaos4.3.git9238eee.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o","purl":"pkg:rpm/redhat/cri-o","source":"RHBA-2020:1255"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["0:1.16.4-1.dev.rhaos4.3.git9238eee.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debuginfo","purl":"pkg:rpm/redhat/cri-o-debuginfo","source":"RHBA-2020:1255"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["0:1.16.4-1.dev.rhaos4.3.git9238eee.el8"],"introduced":["0"],"last_affected":[],"package":"cri-o-debugsource","purl":"pkg:rpm/redhat/cri-o-debugsource","source":"RHBA-2020:1255"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["0:4.3.7-202003130552.git.0.6027a27.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-clients","purl":"pkg:rpm/redhat/openshift-clients","source":"RHSA-2020:0928"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["0:4.3.7-202003130552.git.0.6027a27.el8"],"introduced":["0"],"last_affected":[],"package":"openshift-clients-redistributable","purl":"pkg:rpm/redhat/openshift-clients-redistributable","source":"RHSA-2020:0928"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["1:0.1.40-4.rhaos.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/redhat/skopeo","source":"RHSA-2020:0679"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["1:0.1.40-4.rhaos.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo-debuginfo","purl":"pkg:rpm/redhat/skopeo-debuginfo","source":"RHSA-2020:0679"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["1:0.1.40-4.rhaos.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo-debugsource","purl":"pkg:rpm/redhat/skopeo-debugsource","source":"RHSA-2020:0679"},{"ecosystem":"Red Hat:openshift:4.3::el8","fixed":["1:0.1.40-4.rhaos.el8"],"introduced":["0"],"last_affected":[],"package":"skopeo-tests","purl":"pkg:rpm/redhat/skopeo-tests","source":"RHSA-2020:0679"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.11.6-8.el7_8"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/redhat/buildah","source":"RHSA-2020:1231"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.11.6-8.el7_8"],"introduced":["0"],"last_affected":[],"package":"buildah-debuginfo","purl":"pkg:rpm/redhat/buildah-debuginfo","source":"RHSA-2020:1231"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["1:0.1.40-7.el7_8"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/redhat/containers-common","source":"RHSA-2020:1230"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["1:0.1.40-7.el7_8"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/redhat/skopeo","source":"RHSA-2020:1230"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["1:0.1.40-7.el7_8"],"introduced":["0"],"last_affected":[],"package":"skopeo-debuginfo","purl":"pkg:rpm/redhat/skopeo-debuginfo","source":"RHSA-2020:1230"}],"prev":{"headline":"Unchecked buffer overrun in ecall_restore","id":"CVE-2020-8944"},"products":["n/a"],"published":"2020-02-12","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHBA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"A use-after-free in the proglottis Go wrapper for GPGME allows attackers to cause crashes or execute code during signature verification.","url":"https://insights.sbomify.com/CVE-2020-8945/"}