CVE-2020-8945 is a high-severity (CVSS 7.5) Use After Free vulnerability in github.com/proglottis/gpgme. 1 public exploit reference exists, so weaponization risk is real. A fix is available for github.com/proglottis/gpgme — see the affected versions and patch details below.
GPGME Go wrapper contains Use After Free
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2020-8945 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.
Where this sits among everything scored
Of 385,738 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
github.com/proglottis/gpgmeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/proglottis/gpgme | all versions | 0.1.1go get github.com/proglottis/gpgme@v0.1.1 |
Affected Products
fedorafedoraprojectgpgmegpgme_projectenterprise linux for ibm z systemsredhatenterprise linux for power little endianredhatenterprise linux serverredhatenterprise linux workstationredhatResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/proglottis/gpgme, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/proglottis/gpgme to 0.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8945 is resolved across your whole dependency graph.
Workarounds
Stop feeding it untrusted input: reject or quarantine files and payloads from unverified sources until you can upgrade, restrict accepted formats to the ones you actually need, and run the parsing or decoding step in a least-privileged sandbox or short-lived worker so a crash or corrupted read cannot reach the rest of the process.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
OpenShift 3.11 consumes updates for podman from the RHEL-7 extras channel, hence why it has been marked as wontfix in this instance. After extensive testing of the mentioned vulnerability Red Hat has chosen a severity of Moderate instead of High, because the deallocation of GPGME objects while other parts of code are…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat Enterprise Linux 7 Extras | skopeo-1:0.1.40-7.el7_8 | RHSA-2020:1230 |
| Red Hat Enterprise Linux 7 Extras | buildah-0:1.11.6-8.el7_8 | RHSA-2020:1231 |
| Red Hat Enterprise Linux 7 Extras | docker-2:1.13.1-161.git64e9980.el7_8 | RHSA-2020:1234 |
| Red Hat Enterprise Linux 7 Extras | podman-0:1.6.4-18.el7_8 | RHSA-2020:2117 |
| Red Hat OpenShift Container Platform 3.11 | atomic-openshift-0:3.11.248-1.git.0.92ee8ac.el7 | RHSA-2020:2992 |
| Red Hat OpenShift Container Platform 4.1 | skopeo-1:0.1.32-6.git1715c90.el8_0 | RHSA-2020:0697 |
| Red Hat OpenShift Container Platform 4.2 | openshift4/ose-docker-builder:v4.2.28-202004061218 | RHSA-2020:1402 |
| Red Hat OpenShift Container Platform 4.2 | openshift4/ose-openshift-controller-manager-rhel7:v4.2.34-202005252115 | RHSA-2020:3167 |
Frequently Asked Questions
Is CVE-2020-8945 in your dependencies?
Find it across Go, including transitive dependencies.