Path traversal vulnerability in Docker before 1.3.3 allows remote attackers to write to arbitrary files and bypass a container protection me
Path traversal vulnerability in Docker before 1.3.3 allows remote attackers to write to arbitrary files and bypass a container protection mechanism via a full pathname in a symlink in an (1) image or (2) build in a Dockerfile.
- Published
- Dec 2, 2019
- Updated
- Jun 16, 2026
- EPSS
- 4.9% · 92th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.6 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.9%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| docker | docker | cpe:2.3:a:docker:docker |
Using docker? Add it to your stack and be the first to know about CVEs like this one. (Docker)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- docker dockerbefore 1.3.3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | docker.io | before 1.3.3~dfsg1-1 | 1.3.3~dfsg1-1 |
| Go | github.com/docker/docker | before 1.3.3 | 1.3.3 |
| openSUSE:Tumbleweed | docker | before 1.12.3-4.1 | 1.12.3-4.1 |
| openSUSE:Tumbleweed | docker-stable | before 24.0.9_ce-15.1 | 24.0.9_ce-15.1 |
| Red Hat:rhel_extras_other:7 | docker | before 0:1.4.1-37.el7 | 0:1.4.1-37.el7 |
| Red Hat:rhel_extras_other:7 | docker-logrotate | before 0:1.4.1-37.el7 | 0:1.4.1-37.el7 |
| Red Hat:rhel_extras_other:7 | docker-python | before 0:0.7.1-37.el7 | 0:0.7.1-37.el7 |
| Red Hat:rhel_extras_other:7 | python-websocket-client | before 0:0.14.1-37.el7 | 0:0.14.1-37.el7 |
| SUSE:Linux Enterprise Module for Containers 15 SP6 | docker-stable | before 24.0.9_ce-150000.1.25.1 | 24.0.9_ce-150000.1.25.1 |
| SUSE:Linux Enterprise Module for Containers 15 SP6 | docker-stable | before 24.0.9_ce-150000.1.25.1 | 24.0.9_ce-150000.1.25.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | docker-stable | before 24.0.9_ce-1.20.1 | 24.0.9_ce-1.20.1 |
Same product
docker: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-15752Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-credential-wincred.exKEV76This week
- CVE-2019-5736runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequen64This week
- CVE-2019-14271In Docker 19.03.x before 19.03.1 linked against the GNU C Library (aka glibc), code injection can occur when the nsswitch facility dynamical45Plan
- CVE-2014-9357Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build in a Dockerfile in 42Plan
- CVE-2014-0048An issue was found in Docker before 1.6.0.41Plan
- CVE-2018-15514HandleRequestAsync in Docker for Windows before 18.06.0-ce-rc3-win68 (edge) and before 18.06.0-ce-win72 (stable) deserialized requests over 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 / package | Fixed version | Source |
|---|---|---|
| debian:docker.io | 1.3.3~dfsg1-1 · Debian:12 | Package registry (OSV) |
| Go:github.com/docker/docker | 1.3.3 | Package registry (OSV) |
| opensuse:docker | 1.12.3-4.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:docker-stable | 24.0.9_ce-150000.1.25.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:docker | 0:1.4.1-37.el7 · Red Hat:rhel_extras_other:7 | Package registry (OSV) |
| red hat:docker-logrotate | 0:1.4.1-37.el7 · Red Hat:rhel_extras_other:7 | Package registry (OSV) |
| red hat:docker-python | 0:0.7.1-37.el7 · Red Hat:rhel_extras_other:7 | Package registry (OSV) |
| red hat:python-websocket-client | 0:0.14.1-37.el7 · Red Hat:rhel_extras_other:7 | Package registry (OSV) |
| suse:docker-stable | 24.0.9_ce-1.20.1 · SUSE:Linux Enterprise Server 12 SP5-LTSS | Package registry (OSV) |
| suse:docker-stable | 24.0.9_ce-150000.1.25.1 · SUSE:Linux Enterprise Module for Containers 15 SP6 | Package 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.
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.
Credits
All researchersFinders, 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
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
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
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.securityfocus.com/archive/1/archive/1/534215/100/0/threaded
- bugzilla.redhat.com/show_bug.cgi?id=1172761
Vendor advisories and official records. Exploit/PoC links are deliberately left out.