VDB

CVE-2007-4559

CVE-2007-4559 PUBLISHED CVSS 9.8 CRITICAL

Reported by mitre · Published August 28, 2007

Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in filenames in a TAR archive, a related issue to CVE-2001-1267.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3.11-pipAmazon Linux22.3.1-2.amzn2023.0.6
python2-pipAmazon Linux20.2.2-1.amzn2.0.10
python-testAmazon Linux2.7.18-1.amzn2.0.12
python3-debugAmazon Linux3.9.20-1.amzn2023.0.2
python3-pip-wheelAmazon Linux21.3.1-2.amzn2023.0.11
python3-libsAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.14
python3Amazon Linux3.9.20-1.amzn2023.0.2
python3-testAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.14
python3-pipAmazon Linux20.2.2-1.amzn2.0.10
python3-toolsAmazon Linux3.7.16-1.amzn2.0.14
python3.11-testAmazon Linux3.11.6-1.amzn2023.0.6
pythonBitnami3.11.4, 3.10.12, 3.9.17, 3.8.17, 3.6.16

12 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
amazon:2023python3.11-pip0
amazon:2python2-pip0
amazon:2python-test0
amazon:2023python3-debug0
amazon:2023python3-pip-wheel0
amazon:2023python3-libs0
amazon:2023python30
amazon:2python3-test0
wolfipython-3.10*
chainguardpython-3.11*
amazon:2python3-pip0
wolfipython-3.11*
amazon:2python3-tools0
chainguardpython-3.12*
amazon:2023python3.11-test0
amazon:2python3-tkinter0
amazon:2python-pip-wheel0
amazon:2023python3-test0
amazon:2023python3.11-tkinter0

…and 28 more

Timeline

  • Aug 28, 2007 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Feb 5, 2026 CVE Updated
  • Jun 1, 2026 Security Advisory (20 in total, the first dated here)
  • Nov 10, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (16 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2007-4559
vulnetix vdb fixes CVE-2007-4559

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2007-4559/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›