CVE-2017-1002102
published 2018-03-13CVE-2017-1002102: In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI…
PriorityP428medium5.6CVSS 3.0
AVLACHPRLUINSCCNIHAN
EPSS
1.03%
59.3th percentile
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
Affected
22 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | kubernetes | < kubernetes 1.7.16+dfsg-1 (bookworm) | kubernetes 1.7.16+dfsg-1 (bookworm) |
| k8s.io | kubernetes | >= 1.3.0 < 1.7.14 | 1.7.14 |
| k8s.io | kubernetes | >= 1.8.0 < 1.8.9 | 1.8.9 |
| k8s.io | kubernetes | >= 1.9.0 < 1.9.4 | 1.9.4 |
| kubernetes | kubernetes | — | — |
| kubernetes | kubernetes | — | — |
| kubernetes | kubernetes | — | — |
| kubernetes | kubernetes | — | — |
| kubernetes | kubernetes | >= 0 < 1.7.16+dfsg-1 | 1.7.16+dfsg-1 |
| kubernetes | kubernetes | >= 0 < 1.7.16+dfsg-1 | 1.7.16+dfsg-1 |
| kubernetes | kubernetes | >= 0 < 1.7.16+dfsg-1 | 1.7.16+dfsg-1 |
| kubernetes | kubernetes | >= 0 < 1.7.16+dfsg-1 | 1.7.16+dfsg-1 |
| kubernetes | kubernetes | 1.3.0 – 1.3.10 | — |
| kubernetes | kubernetes | 1.4.0 – 1.4.12 | — |
| kubernetes | kubernetes | 1.5.0 – 1.5.8 | — |
| kubernetes | kubernetes | 1.6.0 – 1.6.13 | — |
| kubernetes | kubernetes | >= 1.7.0 < 1.7.14 | 1.7.14 |
| kubernetes | kubernetes | >= 1.8.0 < 1.8.9 | 1.8.9 |
| kubernetes | kubernetes | >= 1.9.0 < 1.9.4 | 1.9.4 |
| kubernetes | kubernetes | >= unspecified < v1.7.14 | v1.7.14 |
| kubernetes | kubernetes | >= unspecified < v1.8.9 | v1.8.9 |
| kubernetes | kubernetes | >= unspecified < v1.9.4 | v1.9.4 |
CVSS provenance
nvdv3.05.6MEDIUMCVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N
nvdv2.06.3MEDIUMAV:L/AC:M/Au:N/C:N/I:C/A:C
osv5.6MEDIUM
vendor_debian7.1HIGH
vendor_redhat7.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kubernetes: Malicious containers can delete any file from the node
vendor_redhat·2018-03-06·CVSS 7.1
CVE-2017-1002102 [HIGH] CWE-59 kubernetes: Malicious containers can delete any file from the node
kubernetes: Malicious containers can delete any file from the node
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
This vulnerability allows containers using a secret, configMap, projected, or downwardAPI volume to trigger deletion of arbitrary files and directories on the nodes where they are running. An attacker could use this flaw to delete arbitrary file or directories on node host.
Package: kubernetes (Red Hat Enterprise Linux 7) - Will not fix
Package: heketi (Red Hat Storage 3) - Not affected
Debian
CVE-2017-1002102: kubernetes - In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, ...
vendor_debian·2017·CVSS 7.1
CVE-2017-1002102 [HIGH] CVE-2017-1002102: kubernetes - In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, ...
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
Scope: local
bookworm: resolved (fixed in 1.7.16+dfsg-1)
bullseye: resolved (fixed in 1.7.16+dfsg-1)
forky: resolved (fixed in 1.7.16+dfsg-1)
sid: resolved (fixed in 1.7.16+dfsg-1)
trixie: resolved (fixed in 1.7.16+dfsg-1)
OSV
Kubernetes can trigger deletion of arbitrary files from the nodes where containers are running in k8s.io/kubernetes
osv·2024-08-20
CVE-2017-1002102 Kubernetes can trigger deletion of arbitrary files from the nodes where containers are running in k8s.io/kubernetes
Kubernetes can trigger deletion of arbitrary files from the nodes where containers are running in k8s.io/kubernetes
Kubernetes can trigger deletion of arbitrary files from the nodes where containers are running in k8s.io/kubernetes
OSV
Kubernetes arbitrary file overwrite
osv·2022-05-13
CVE-2017-1002102 [MEDIUM] Kubernetes arbitrary file overwrite
Kubernetes arbitrary file overwrite
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
GHSA
Kubernetes arbitrary file overwrite
ghsa·2022-05-13
CVE-2017-1002102 [MEDIUM] CWE-284 Kubernetes arbitrary file overwrite
Kubernetes arbitrary file overwrite
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
Kernel
Merge branch 'work.openat2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
kernel_security·2020-01-29
CVE-2017-1002101 Merge branch 'work.openat2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Merge branch 'work.openat2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull openat2 support from Al Viro:
"This is the openat2() series from Aleksa Sarai.
I'm afraid that the rest of namei stuff will have to wait - it got
zero review the last time I'd posted #work.namei, and there had been a
leak in the posted series I'd caught only last weekend. I was going to
repost it on Monday, but the window opened and the odds of getting any
review during that... Oh, well.
Anyway, openat2 part should be ready; that _did_ get sane amount of
review and public testing, so here it comes"
From Aleksa's description of the series:
"For a very long time, extending openat(2) with new features has been
incredibly frustrating. This stems from the fact that openat(2) is
possibly the most famou
OSV
CVE-2017-1002102: In Kubernetes versions 1
osv·2018-03-13·CVSS 5.6
CVE-2017-1002102 [MEDIUM] CVE-2017-1002102: In Kubernetes versions 1
In Kubernetes versions 1.3.x, 1.4.x, 1.5.x, 1.6.x and prior to versions 1.7.14, 1.8.9 and 1.9.4 containers using a secret, configMap, projected or downwardAPI volume can trigger deletion of arbitrary files/directories from the nodes where they are running.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-1002102 origin: kubernetes: Malicious containers can delete any file from the node [fedora-all]
bugzilla·2018-03-13·CVSS 7.1
CVE-2017-1002102 [HIGH] CVE-2017-1002102 origin: kubernetes: Malicious containers can delete any file from the node [fedora-all]
CVE-2017-1002102 origin: kubernetes: Malicious containers can delete any file from the node [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node [fedora-all]
bugzilla·2018-03-12·CVSS 7.1
CVE-2017-1002102 [HIGH] CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node [fedora-all]
CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple
Bugzilla
CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node
bugzilla·2018-03-06·CVSS 7.1
CVE-2017-1002102 [HIGH] CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node
CVE-2017-1002102 kubernetes: Malicious containers can delete any file from the node
A symlink race in the openShift node process allows a malicious container to trick the node into deleting any file.
Every sync iteration, the atomic writer code walks the volume looking for files that shouldn't be there or files that have changed. When it finds files that shouldn't be there, it adds them to a list. Once it's finished walking the tree, it sorts the list lexicographically then starts at the end (to make sure that files are removed before the directories that contain them) and removes them one by one.
Because (a) the volume isn't mounted read-only by the runtime and (b) there is a time between finding the file and deleting the file, a malicious container can set up conditions to win a race
2018-03-13
Published