CVE-2020-10696
NixOS vulnerability analysis and mitigation

Overview

A path traversal vulnerability (CVE-2020-10696) was discovered in Buildah versions before 1.14.5. The vulnerability was disclosed on March 31, 2020. This flaw affects the Buildah container image building tool, which is used for creating OCI container images. The vulnerability allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user's system anywhere that the user has permissions (NVD, Red Hat).

Technical details

The vulnerability is classified as a path traversal flaw (CWE-22) with a CVSS v3.1 base score of 8.8 (HIGH). The issue occurs during the container image building process where a crafted tar file containing symlinks may lead Buildah to overwrite any file which the running UID has write permissions. The vulnerability stems from Buildah's behavior when it fails to fetch content used as a parameter for building - it attempts to refetch the content without properly cleaning up the build directory (Red Hat Bugzilla).

Impact

The vulnerability can compromise confidentiality and integrity of the system by allowing an attacker to overwrite any existing file to which the task's owner has write access. This could potentially lead to code execution in certain circumstances. The impact is particularly significant in environments where Buildah is used for container image building operations (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability was fixed in Buildah version 1.14.5. Red Hat has released security updates for affected products through multiple security advisories including RHSA-2020:2116 for Red Hat Enterprise Linux 7 Extras. The fix prevents the refetching of content after a file read failure, which could previously be exploited using symlinks to overwrite good files with malicious data (Red Hat Advisory).

Community reactions

Red Hat initially rated this update as having a security impact of Important. However, for OpenShift Container Platform, while it included the vulnerable Buildah code, it was noted that it didn't make use of the vulnerable function. The impact was consequently given a low rating for OpenShift Container Platform as Podman isn't used to perform builds in this context (Red Hat Bugzilla).

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-2026-22783HIGH8.1
  • NixOSNixOS
  • iris
NoYesJan 12, 2026
CVE-2026-0821MEDIUM6.9
  • NixOSNixOS
  • quickjs
NoNoJan 10, 2026
CVE-2025-68949MEDIUM5.3
  • NixOSNixOS
  • n8n
NoYesJan 13, 2026
CVE-2026-22784LOW2.3
  • NixOSNixOS
  • lychee
NoYesJan 12, 2026
CVE-2026-23497LOW1.3
  • NixOSNixOS
  • learning
NoYesJan 14, 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