CVE-2019-11251: kubectl cp allows symlink directory traversal
Vulnerability summary
CVE-2019-11251 is a medium (CVSS 5.7) UNIX Symbolic Link (Symlink) Following vulnerability in kubernetes. EPSS estimates a 2.62% chance of exploitation in the next 30 days, higher than 85.4% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 03-02-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.
CVSS metrics
6 scores · 5 sources · 3 versions- CVE.orgCNA4.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated5.7MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- OSV · GoEcosystem advisory · calculated5.7MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
2.62%
Chance of exploitation in the next 30 days
Percentile
85%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.62% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-61UNIX Symbolic Link (Symlink) FollowingThe product, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the product to operate on unauthorized files.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- openshift< 0:4.1.21-201910220952.git.0.493dbf6.el7 | < 0:4.1.21-201910220952.git.0.493dbf6.el8
- openshift-clients< 0:4.1.21-201910220952.git.0.493dbf6.el7 | < 0:4.1.21-201910220952.git.0.493dbf6.el8
- openshift-clients-redistributable< 0:4.1.21-201910220952.git.0.493dbf6.el7 | < 0:4.1.21-201910220952.git.0.493dbf6.el8
- openshift-hyperkube< 0:4.1.21-201910220952.git.0.493dbf6.el7 | < 0:4.1.21-201910220952.git.0.493dbf6.el8
K8s.io1 product
- kubernetes≥ 1.13.10, < 1.13.11 | ≥ 1.14.6, < 1.14.7 | ≥ 1.15.3, < 1.16.0
Kubernetes1 product
- kubernetesprior to 1.13.11 | prior to 1.14.7 | prior to 1.15.4 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | 1.9 | 1.10 | 1.11 | 1.12 | ≥ 1.13.0, < 1.13.11 | ≥ 1.14.0, < 1.14.7 | ≥ 1.15.0, < 1.15.4 | 1.1-1.12
Ubuntu1 product
- kubernetesAll versions (No fix recorded)
4 vendors · 7 products
References
13 links- groups.google.com/d/msg/kubernetes-announce/YYtEFdFimZ4/nZnOezZuBgAJMailing ListX Refsource MLISTThird Party AdvisoryWEB
- groups.google.com/forum/ARTICLE