← VULNERABILITIES

DHI-5327-zsok-73sk-5raz

A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory…

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-21
Age
8d old
Modified
2026-11-25
Product
Docker Hardened Images:Debian:13 patch

Description

A flaw was found in GNU patch. An attacker can achieve arbitrary file creation outside the intended working directory by enticing a user or automated workflow to apply a specially crafted patch file. Due to missing validation during automatic patch reversal, absolute file paths in patch headers are accepted rather than rejected. Consequently, the utility can create files in arbitrary locations with the permissions of the executing user.

Fixed in

2.8-2+deb13u0+dhi3

Affected packages

EcosystemPackageRangeFixed
Docker Hardened Images:Debian:13patch>=0, <2.8-2+deb13u0+dhi32.8-2+deb13u0+dhi3

Sources

  • OSV · first seen 8d ago · CC-BY 4.0

References

JSON