CVE-2024-6232
HIGHCPython < 3.8.20 - Denial of Service via TarFile Header Parsing ReDoS
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-6232. PoCs published by bgutowski.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2024-6232, leveraging a Python Tarfile realpath overflow to achieve local privilege escalation by adding a user to the sudoers file. The exploit crafts a malicious tar file that bypasses security filters and writes to /etc/sudoers.d/.
Description
There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.
Exploits (1)
This repository contains a functional exploit for CVE-2024-6232, leveraging a Python Tarfile realpath overflow to achieve local privilege escalation by adding a user to the sudoers file. The exploit crafts a malicious tar file that bypasses security filters and writes to /etc/sudoers.d/.
References (13)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H