CVE-2020-8945
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-8945 affects the proglottis Go wrapper for the GPGME library versions before 0.1.1. The vulnerability was discovered in early 2020 and involves a use-after-free condition that occurs during container image pulls by Docker or CRI-O (NVD).

Technical details

The vulnerability stems from a use-after-free condition in the Go wrapper's interaction with GPGME C library during GPG signature verification. The issue occurs because the Go wrapper does not properly mark data structures or pointers to be kept alive by the Go runtime. During GPG binary execution, the Golang garbage collector can potentially free referenced C structures while they are still needed, leading to the use-after-free scenario when the GPG binary finishes executing (Bugzilla). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 HIGH (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) (NVD).

Impact

This vulnerability can lead to a crash or potential code execution during GPG signature verification when pulling container images. The issue affects various container tools including Docker and CRI-O that use this library for GPG signature verification (NVD).

Mitigation and workarounds

The vulnerability was fixed in version 0.1.1 of the proglottis/gpgme library. The fix involves explicitly extending the lifetime of objects using runtime.KeepAlive to ensure C structures aren't deallocated while still in use (Github PR). Red Hat has released several security advisories (RHSA-2020:0679, RHSA-2020:0689, RHSA-2020:0697) to address this vulnerability in affected products (Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management