CVE-2020-8945: Use After Free

Published Jan 16, 2020
·
Updated

A use-after-free vulnerability was found in the Go GPGME wrapper library, github.com/proglottis/gpgme. An attacker could use this flaw to crash or cause potential code execution in Go applications that use this library, under certain conditions, during GPG signature verification.

Other sources

The Go wrapper for the GPGME library, github.com/proglottis/gpgme (and fork github.com/mtrmac/gpgme), vendored into github.com/containers/image, is susceptible, under certain conditions, to a use-after-free when used during container image pulls by tools like docker and cri-o.

Upstream Fix:

https://github.com/proglottis/gpgme/pull/23

Red Hat

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 Software

48 affected componentsFixes available
redhat/skopeo<1:0.1.40-7.el7_8
1:0.1.40-7.el7_8
redhat/buildah<0:1.11.6-8.el7_8
0:1.11.6-8.el7_8
redhat/docker<2:1.13.1-161.git64e9980.el7_8
2:1.13.1-161.git64e9980.el7_8
redhat/podman<0:1.6.4-18.el7_8
0:1.6.4-18.el7_8
redhat/atomic-openshift<0:3.11.248-1.git.0.92ee8ac.el7
0:3.11.248-1.git.0.92ee8ac.el7
redhat/skopeo<1:0.1.32-6.git1715c90.el8_0
1:0.1.32-6.git1715c90.el8_0
redhat/skopeo<1:0.1.32-7.git1715c90.rhaos4.2.el8
1:0.1.32-7.git1715c90.rhaos4.2.el8
redhat/openshift-clients<0:4.2.32-202005020632.git.1.1b0fab9.el8
0:4.2.32-202005020632.git.1.1b0fab9.el8
redhat/cri-o<0:1.16.4-1.dev.rhaos4.3.git9238eee.el7
0:1.16.4-1.dev.rhaos4.3.git9238eee.el7
redhat/openshift-clients<0:4.3.7-202003130552.git.0.6027a27.el8
0:4.3.7-202003130552.git.0.6027a27.el8
redhat/skopeo<1:0.1.40-4.rhaos.el8
1:0.1.40-4.rhaos.el8
redhat/podman<0:1.6.4-10.rhaos4.3.el8
0:1.6.4-10.rhaos4.3.el8
redhat/cri-o<0:1.17.4-8.dev.rhaos4.4.git5f5c5e4.el8
0:1.17.4-8.dev.rhaos4.4.git5f5c5e4.el8
redhat/machine-config-daemon<0:4.4.0-202007092124.p0.git.2349.08d34d1.el8
0:4.4.0-202007092124.p0.git.2349.08d34d1.el8
redhat/machine-config-daemon<0:4.5.0-202007012112.p0.git.2527.d12c3da.el8
0:4.5.0-202007012112.p0.git.2527.d12c3da.el8
Gpgme Project Gpgme Go<0.1.1
redhat OpenShift Container Platform=3.11
redhat OpenShift Container Platform=4.1
redhat OpenShift Container Platform=4.2
redhat OpenShift Container Platform=4.3
redhat OpenShift Container Platform=4.4
redhat OpenShift Container Platform=4.5
redhat Openshift Container Platform For Ibm Z=4.1
redhat Openshift Container Platform For Ibm Z=4.2
redhat Openshift Container Platform For Linuxone=4.1
redhat Openshift Container Platform For Linuxone=4.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
Fedoraproject Fedora=32
redhat Enterprise Linux For Ibm Z Systems=7.0
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
redhat/proglottis/gpgme<0.1.1
0.1.1
All of the following
Any of the following
redhat OpenShift Container Platform=3.11
redhat OpenShift Container Platform=4.1
redhat OpenShift Container Platform=4.2
redhat OpenShift Container Platform=4.3
redhat OpenShift Container Platform=4.4
redhat OpenShift Container Platform=4.5
redhat Openshift Container Platform For Ibm Z=4.1
redhat Openshift Container Platform For Ibm Z=4.2
redhat Openshift Container Platform For Linuxone=4.1
redhat Openshift Container Platform For Linuxone=4.2
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/skopeo to a version that resolves this vulnerability.

    Fixed in 1:0.1.40-7.el7_8
  2. Upgrade

    Upgrade redhat/buildah to a version that resolves this vulnerability.

    Fixed in 0:1.11.6-8.el7_8
  3. Upgrade

    Upgrade redhat/docker to a version that resolves this vulnerability.

    Fixed in 2:1.13.1-161.git64e9980.el7_8
  4. Upgrade

    Upgrade redhat/podman to a version that resolves this vulnerability.

    Fixed in 0:1.6.4-18.el7_8
  5. Upgrade

    Upgrade redhat/atomic-openshift to a version that resolves this vulnerability.

    Fixed in 0:3.11.248-1.git.0.92ee8ac.el7
  6. Upgrade

    Upgrade redhat/skopeo to a version that resolves this vulnerability.

    Fixed in 1:0.1.32-6.git1715c90.el8_0
  7. Upgrade

    Upgrade redhat/skopeo to a version that resolves this vulnerability.

    Fixed in 1:0.1.32-7.git1715c90.rhaos4.2.el8
  8. Upgrade

    Upgrade redhat/openshift-clients to a version that resolves this vulnerability.

    Fixed in 0:4.2.32-202005020632.git.1.1b0fab9.el8
  9. Upgrade

    Upgrade redhat/cri-o to a version that resolves this vulnerability.

    Fixed in 0:1.16.4-1.dev.rhaos4.3.git9238eee.el7
  10. Upgrade

    Upgrade redhat/openshift-clients to a version that resolves this vulnerability.

    Fixed in 0:4.3.7-202003130552.git.0.6027a27.el8
  11. Upgrade

    Upgrade redhat/skopeo to a version that resolves this vulnerability.

    Fixed in 1:0.1.40-4.rhaos.el8
  12. Upgrade

    Upgrade redhat/podman to a version that resolves this vulnerability.

    Fixed in 0:1.6.4-10.rhaos4.3.el8
  13. Upgrade

    Upgrade redhat/cri-o to a version that resolves this vulnerability.

    Fixed in 0:1.17.4-8.dev.rhaos4.4.git5f5c5e4.el8
  14. Upgrade

    Upgrade redhat/machine-config-daemon to a version that resolves this vulnerability.

    Fixed in 0:4.4.0-202007092124.p0.git.2349.08d34d1.el8
  15. Upgrade

    Upgrade redhat/machine-config-daemon to a version that resolves this vulnerability.

    Fixed in 0:4.5.0-202007012112.p0.git.2527.d12c3da.el8
  16. Upgrade

    Upgrade redhat/proglottis/gpgme to a version that resolves this vulnerability.

    Fixed in 0.1.1
  17. Upgrade

    Upgrade github.com/proglottis/gpgme to a version that resolves this vulnerability.

    Fixed in 0.1.1
  18. Upgrade

    Upgrade github.com/mtrmac/gpgme to a version that resolves this vulnerability.

    Fixed in 0.1.1

Event History

Jan 16, 2020
CVE Published
12:00 AM
Jan 29, 2020
Data Sourced
via Red Hat·01:21 AM
DescriptionSeverityAffected Software
Feb 12, 2020
CVE Published
via MITRE·05:20 PM
Data Sourced
via MITRE·05:20 PM
Description
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2020-8945?

CVE-2020-8945 is a use-after-free vulnerability found in the Go GPGME wrapper library, github.com/proglottis/gpgme.

2

What is the severity level of CVE-2020-8945?

The severity level of CVE-2020-8945 is high with a CVSS score of 7.5.

3

How does CVE-2020-8945 impact Go applications?

CVE-2020-8945 can cause crashes or potential code execution in Go applications that use the vulnerable Go GPGME wrapper library.

4

Which versions of the proglottis/gpgme library are affected by CVE-2020-8945?

Versions up to and excluding 0.1.1 of the proglottis/gpgme library are affected by CVE-2020-8945.

5

Where can I find more information about CVE-2020-8945?

You can find more information about CVE-2020-8945 at the following references: [Link 1](https://github.com/proglottis/gpgme/pull/23), [Link 2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1802897), [Link 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1802898).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203