CVE-2020-8945
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 5.1AV:N/AC:H/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 5.07%• Percentile: 92%
Techniques & Countermeasures
- CWE-416•Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected Systems
- debian•golang-github-proglottis-gpgme
< 0.1.1-1 | < 0.1.1-1 | < 0.1.1-1 | < 0.1.1-1
- fedoraproject•fedora
30 | 31 | 32
- github.com/proglottis•gpgme
< 0.1.1
- gpgme_project•gpgme
< 0.1.1
- 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•openshift_container_platform
3.11 | 4.1 | 4.2 | 4.3 | 4.4 | 4.5
- redhat•openshift_container_platform_for_ibm_z
4.1 | 4.2
- redhat•openshift_container_platform_for_linuxone
4.1 | 4.2
References (20)
- https://github.com/proglottis/gpgme/pull/23
- https://bugzilla.redhat.com/show_bug.cgi?id=1795838
- https://github.com/proglottis/gpgme/compare/v0.1.0...v0.1.1
- https://github.com/containers/image/commit/4c7a23f82ef09127b0ff28366d1cf31316dd6cc1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H6P6SSNKN4H6GSEVROHBDXA64PX7EOED/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KDBT77KV3U7BESJX3P4S4MPVDGRTAQA2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXV7NZELYWRRCXATXU3FYD3G3WJT3WYM/
- https://access.redhat.com/errata/RHSA-2020:0679
- https://access.redhat.com/errata/RHSA-2020:0689
- https://access.redhat.com/errata/RHSA-2020:0697
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3SOCLOPTSYABTE4CLTSPDIFE6ZZZR4LX/
- https://nvd.nist.gov/vuln/detail/CVE-2020-8945
- https://github.com/proglottis/gpgme/commit/92153bcb59bd2f511e502262c46c7bd660e21733
- https://github.com/proglottis/gpgme
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3SOCLOPTSYABTE4CLTSPDIFE6ZZZR4LX
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H6P6SSNKN4H6GSEVROHBDXA64PX7EOED
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KDBT77KV3U7BESJX3P4S4MPVDGRTAQA2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WXV7NZELYWRRCXATXU3FYD3G3WJT3WYM
- https://pkg.go.dev/vuln/GO-2021-0096
- https://security-tracker.debian.org/tracker/CVE-2020-8945