CVE Vulnerabilities

CVE-2020-8945

Use After Free

Published: Feb 12, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
5.1 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

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.

Weakness

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 Software

Name Vendor Start Version End Version
Gpgme Gpgme_project * 0.1.1 (excluding)
Red Hat Enterprise Linux 7 Extras RedHat skopeo-1:0.1.40-7.el7_8 *
Red Hat Enterprise Linux 7 Extras RedHat buildah-0:1.11.6-8.el7_8 *
Red Hat Enterprise Linux 7 Extras RedHat docker-2:1.13.1-161.git64e9980.el7_8 *
Red Hat Enterprise Linux 7 Extras RedHat podman-0:1.6.4-18.el7_8 *
Red Hat OpenShift Container Platform 3.11 RedHat atomic-openshift-0:3.11.248-1.git.0.92ee8ac.el7 *
Red Hat OpenShift Container Platform 4.1 RedHat skopeo-1:0.1.32-6.git1715c90.el8_0 *
Red Hat OpenShift Container Platform 4.2 RedHat openshift4/ose-docker-builder:v4.2.28-202004061218 *
Red Hat OpenShift Container Platform 4.2 RedHat openshift4/ose-openshift-controller-manager-rhel7:v4.2.34-202005252115 *
Red Hat OpenShift Container Platform 4.2 RedHat skopeo-1:0.1.32-7.git1715c90.rhaos4.2.el8 *
Red Hat OpenShift Container Platform 4.2 RedHat openshift-clients-0:4.2.32-202005020632.git.1.1b0fab9.el8 *
Red Hat OpenShift Container Platform 4.3 RedHat cri-o-0:1.16.4-1.dev.rhaos4.3.git9238eee.el7 *
Red Hat OpenShift Container Platform 4.3 RedHat openshift4/ose-cli:v4.3.7-202003161611 *
Red Hat OpenShift Container Platform 4.3 RedHat openshift4/ose-cli-artifacts:v4.3.7-202003161611 *
Red Hat OpenShift Container Platform 4.3 RedHat openshift4/ose-docker-builder:v4.3.7-202003161611 *
Red Hat OpenShift Container Platform 4.3 RedHat openshift-clients-0:4.3.7-202003130552.git.0.6027a27.el7 *
Red Hat OpenShift Container Platform 4.3 RedHat openshift4/ose-openshift-controller-manager-rhel7:v4.3.9-202003230345 *
Red Hat OpenShift Container Platform 4.3 RedHat skopeo-1:0.1.40-4.rhaos.el8 *
Red Hat OpenShift Container Platform 4.3 RedHat podman-0:1.6.4-10.rhaos4.3.el8 *
Red Hat OpenShift Container Platform 4.4 RedHat cri-o-0:1.17.4-8.dev.rhaos4.4.git5f5c5e4.el8 *
Red Hat OpenShift Container Platform 4.4 RedHat openshift4/ose-cluster-policy-controller-rhel7:v4.4.0-202004261927 *
Red Hat OpenShift Container Platform 4.4 RedHat machine-config-daemon-0:4.4.0-202007092124.p0.git.2349.08d34d1.el8 *
Red Hat OpenShift Container Platform 4.5 RedHat machine-config-daemon-0:4.5.0-202007012112.p0.git.2527.d12c3da.el8 *
Golang-github-proglottis-gpgme Ubuntu eoan *
Golang-github-proglottis-gpgme Ubuntu focal *
Golang-github-proglottis-gpgme Ubuntu trusty *
Singularity-container Ubuntu bionic *
Singularity-container Ubuntu eoan *
Singularity-container Ubuntu oracular *
Singularity-container Ubuntu trusty *

Potential Mitigations

References