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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
GpgmeGpgme_project*0.1.1 (excluding)
Red Hat Enterprise Linux 7 ExtrasRedHatskopeo-1:0.1.40-7.el7_8*
Red Hat Enterprise Linux 7 ExtrasRedHatbuildah-0:1.11.6-8.el7_8*
Red Hat Enterprise Linux 7 ExtrasRedHatdocker-2:1.13.1-161.git64e9980.el7_8*
Red Hat Enterprise Linux 7 ExtrasRedHatpodman-0:1.6.4-18.el7_8*
Red Hat OpenShift Container Platform 3.11RedHatatomic-openshift-0:3.11.248-1.git.0.92ee8ac.el7*
Red Hat OpenShift Container Platform 4.1RedHatskopeo-1:0.1.32-6.git1715c90.el8_0*
Red Hat OpenShift Container Platform 4.2RedHatopenshift4/ose-docker-builder:v4.2.28-202004061218*
Red Hat OpenShift Container Platform 4.2RedHatopenshift4/ose-openshift-controller-manager-rhel7:v4.2.34-202005252115*
Red Hat OpenShift Container Platform 4.2RedHatskopeo-1:0.1.32-7.git1715c90.rhaos4.2.el8*
Red Hat OpenShift Container Platform 4.2RedHatopenshift-clients-0:4.2.32-202005020632.git.1.1b0fab9.el8*
Red Hat OpenShift Container Platform 4.3RedHatcri-o-0:1.16.4-1.dev.rhaos4.3.git9238eee.el8*
Red Hat OpenShift Container Platform 4.3RedHatopenshift4/ose-cli:v4.3.7-202003161611*
Red Hat OpenShift Container Platform 4.3RedHatopenshift4/ose-cli-artifacts:v4.3.7-202003161611*
Red Hat OpenShift Container Platform 4.3RedHatopenshift4/ose-docker-builder:v4.3.7-202003161611*
Red Hat OpenShift Container Platform 4.3RedHatopenshift-clients-0:4.3.7-202003130552.git.0.6027a27.el8*
Red Hat OpenShift Container Platform 4.3RedHatopenshift4/ose-openshift-controller-manager-rhel7:v4.3.9-202003230345*
Red Hat OpenShift Container Platform 4.3RedHatskopeo-1:0.1.40-4.rhaos.el8*
Red Hat OpenShift Container Platform 4.3RedHatpodman-0:1.6.4-10.rhaos4.3.el8*
Red Hat OpenShift Container Platform 4.4RedHatcri-o-0:1.17.4-8.dev.rhaos4.4.git5f5c5e4.el7*
Red Hat OpenShift Container Platform 4.4RedHatopenshift4/ose-cluster-policy-controller-rhel7:v4.4.0-202004261927*
Red Hat OpenShift Container Platform 4.4RedHatmachine-config-daemon-0:4.4.0-202007092124.p0.git.2349.08d34d1.el8*
Red Hat OpenShift Container Platform 4.5RedHatmachine-config-daemon-0:4.5.0-202007012112.p0.git.2527.d12c3da.el8*
Golang-github-proglottis-gpgmeUbuntueoan*
Golang-github-proglottis-gpgmeUbuntuesm-apps/focal*
Golang-github-proglottis-gpgmeUbuntufocal*
Golang-github-proglottis-gpgmeUbuntutrusty*
Golang-github-proglottis-gpgmeUbuntuupstream*
Singularity-containerUbuntubionic*
Singularity-containerUbuntueoan*
Singularity-containerUbuntuoracular*
Singularity-containerUbuntuplucky*
Singularity-containerUbuntutrusty*

Potential Mitigations

References