Skip to content
Noroxi
CVE-2011-5325· NVD / CVE Program· CNA mitre

Directory traversal vulnerability in the BusyBox implementation of tar before 1.22.0 v5 allows remote attackers to point to files outside th

Directory traversal vulnerability in the BusyBox implementation of tar before 1.22.0 v5 allows remote attackers to point to files outside the current working directory via a symlink.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Aug 7, 2017
Updated
Jun 16, 2026
EPSS
7.0% · 94th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 7.0%

Affected systems

VendorProduct
busyboxbusybox
debiandebian linux
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • busybox busyboxup to 1.21.1 inclusive
  • canonical ubuntu linux14.04
  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux18.10
  • debian debian linux8.0
  • debian debian linux9.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12busyboxbefore 1:1.27.2-11:1.27.2-1
Debian:8busyboxbefore 1:1.22.0-9+deb8u21:1.22.0-9+deb8u2
Debian:9busyboxbefore 1:1.22.0-19+deb9u11:1.22.0-19+deb9u1
openSUSE:Leap 15.2busyboxbefore 1.26.2-lp152.5.3.11.26.2-lp152.5.3.1
openSUSE:Leap 15.2busybox-staticbefore 1.26.2-lp152.5.3.11.26.2-lp152.5.3.1
openSUSE:Leap 15.3busyboxbefore 1.26.2-4.5.11.26.2-4.5.1
openSUSE:Leap 15.3busyboxbefore 1.34.1-4.9.11.34.1-4.9.1
openSUSE:Leap 15.3busybox-staticbefore 1.26.2-4.5.11.26.2-4.5.1
openSUSE:Leap 15.3virtualboxbefore 6.1.34-lp153.2.27.26.1.34-lp153.2.27.2
openSUSE:Leap 15.3virtualbox-kmpbefore 6.1.34-lp153.2.27.16.1.34-lp153.2.27.1
openSUSE:Tumbleweedbusyboxbefore 1.35.0-1.11.35.0-1.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2busyboxbefore 1.26.2-4.5.11.26.2-4.5.1
SUSE:Linux Enterprise Module for Basesystem 15 SP2busybox-staticbefore 1.26.2-4.5.11.26.2-4.5.1
SUSE:Linux Enterprise Module for Basesystem 15 SP3busyboxbefore 1.34.1-4.9.11.34.1-4.9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4busyboxbefore 1.35.0-150400.3.3.11.35.0-150400.3.3.1
SUSE:Linux Enterprise Module for Basesystem 15 SP4busyboxbefore 1.35.0-150400.3.3.11.35.0-150400.3.3.1
SUSE:OpenStack Cloud 9busyboxbefore 1.35.0-4.3.11.35.0-4.3.1

Other highest-scoring records for the same primary product.

  • CVE-2018-1000517BusyBox project BusyBox wget version prior to commit 8e2174e9bd836e53c8b9c6e00d1bc6e2a718686e contains a Buffer Overflow vulnerability in Bu
    49Plan
  • CVE-2016-2148Heap-based buffer overflow in the DHCP client (udhcpc) in BusyBox before 1.25.0 allows remote attackers to have unspecified impact via vecto
    47Plan
  • CVE-2022-48174There is a stack overflow vulnerability in ash.c:6030 in busybox before 1.35.
    40Plan
  • CVE-2021-42377An attacker-controlled pointer free in Busybox's hush applet leads to denial of service and possible code execution when processing a crafte
    40Plan
  • CVE-2017-16544In the add_match function in libbb/lineedit.c in BusyBox through 1.27.2, the tab autocomplete feature of the shell, used to get a list of fi
    37Monitor
  • CVE-2022-28391BusyBox through 1.35.0 allows remote attackers to execute arbitrary code if netstat is used to print a DNS PTR record's value to a VT compat
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:busybox1:1.27.2-1 · Debian:12Package registry (OSV)
opensuse:busybox1.35.0-150400.3.3.1 · openSUSE:Leap 15.4Package registry (OSV)
opensuse:busybox-static1.26.2-lp152.5.3.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:virtualbox6.1.34-lp153.2.27.2 · openSUSE:Leap 15.3Package registry (OSV)
opensuse:virtualbox-kmp6.1.34-lp153.2.27.1 · openSUSE:Leap 15.3Package registry (OSV)
suse:busybox1.26.2-4.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2Package registry (OSV)
suse:busybox1.35.0-150400.3.3.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP4Package registry (OSV)
suse:busybox-static1.26.2-4.5.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP2Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

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

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records