CVE-2024-6232 is a regular-expression denial-of-service vulnerability in CPython's tarfile.TarFile header parsing. Regular expressions used to parse tar header values permit excessive backtracking when processing specifically crafted tar archives, allowing resource exhaustion during archive parsing.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
Repository contains a single Python script (CVE_2025_4517.py) plus a README. The script generates a malicious tar archive intended to exploit a Python tarfile path sanitization/realpath edge case (PATH_MAX-length overflow/"blinding" of security filters) described in the referenced Google Security Research advisory (GHSA-hgqp-3mmf-7h8f). Exploit capabilities: - Produces a crafted tar file that builds a deeply nested directory structure and a chain of symlinks to push path resolution to the edge of PATH_MAX (platform-dependent: shorter on macOS, longer on others). - Introduces a deep-path symlink trigger designed to break or confuse os.path.realpath()-based checks. - Creates a symlink ("escape") that resolves to a path escaping the extraction directory and targeting /etc/sudoers.d/<username>. - Uses a hardlink ("exploit_link") pointing to the escape symlink to bypass tarfile filtering logic, then writes a regular file entry with sudoers content to effect an arbitrary file write. Overall purpose/structure: - CVE_2025_4517.py: command-line tool taking (username, output tar filename) and writing a weaponized tarball. - README.md: explains this is a weaponized variant of the advisory PoC, adapted from writing a benign file to an LPE/persistence scenario by writing a sudoers drop-in. No network activity is present; the exploit is purely local and relies on a privileged extraction of the generated tar archive on a vulnerable Python tarfile implementation.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
45 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A regular expression denial-of-service (ReDoS) vulnerability in CPython's tarfile component, caused by excessive backtracking while parsing archive header values. It affects Python packages installed on Rocky Linux 9 systems covered by CIQ advisory crlsa-2024_8374.
A CPython tarfile module regular-expression denial-of-service (ReDoS) vulnerability caused by excessive backtracking while parsing tar archive header values. The notice identifies Rocky Linux 8 Python packages as affected.
A CPython regular-expression denial-of-service (ReDoS) vulnerability in tarfile.TarFile header parsing. A specially crafted TAR archive can trigger excessive regex backtracking and cause a denial of service.
A CPython regular-expression denial-of-service (ReDoS) vulnerability in tarfile.TarFile header parsing, where a specially crafted tar archive can trigger excessive regex backtracking and cause availability impact.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.