CVE-2021-25741: Symlink Exchange Can Allow Host Filesystem Access
Noroxi assessment
Priority: Monitor (action score 34/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 7.9% (FIRST EPSS); higher than 94.7% of all records.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: kubernetes (Debian:12) 1.20.5+really1.20.2-1; k8s.io/kubernetes (Go) 1.20.11, 1.21.5, 1.22.2; atomic-openshift (Red Hat:openshift:3.11::el7) 0:3.11.524-1.git.0.2dffce7.el7.
- Mentioned 3 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to kubernetes (Debian:12) 1.20.5+really1.20.2-1; k8s.io/kubernetes (Go) 1.20.11, 1.21.5, 1.22.2; atomic-openshift (Red Hat:openshift:3.11::el7) 0:3.11.524-1.git.0.2dffce7.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.
- Published
- Sep 20, 2021
- Updated
- Jun 16, 2026
- EPSS
- 7.9% · 94th percentile
- CWE
- CWE-20
Report tools
Action score
34
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.9%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 8.1
- CNA · kubernetes
- 8.8
- 0.7 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| kubernetes | kubernetes | cpe:2.3:a:kubernetes:kubernetes |
Using kubernetes? Add it to your stack and be the first to know about CVEs like this one. (Kubernetes)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- kubernetes kubernetesup to 1.19.14 inclusive
- kubernetes kubernetes1.20.0 and later · up to 1.20.10 inclusive
- kubernetes kubernetes1.21.0 and later · up to 1.21.4 inclusive
- kubernetes kubernetes1.22.0 and later · up to 1.22.1 inclusive
Versions reported by the vendor
Affected version ranges reported by the assigning authority (kubernetes). Independent of NVD's CPE analysis and usually ahead of it.
Kubernetes Kubernetes
- unspecified and later · up to and including 1.19.14affected
- unspecified and later · up to and including 1.20.10affected
- unspecified and later · up to and including 1.21.4affected
- unspecified and later · up to and including 1.22.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | kubernetes | before 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
| Go | k8s.io/kubernetes | from 1.20.0 · before 1.20.11 | 1.20.11 |
| Go | k8s.io/kubernetes | from 1.21.0 · before 1.21.5 | 1.21.5 |
| Go | k8s.io/kubernetes | from 1.22.0 · before 1.22.2 | 1.22.2 |
| Go | k8s.io/kubernetes | before 1.19.15 | 1.19.15 |
| Red Hat:openshift:3.11::el7 | atomic-openshift | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-clients | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-clients-redistributable | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-docker-excluder | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-excluder | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-hyperkube | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-hypershift | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-master | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-node | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-pod | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-sdn-ovs | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-template-service-broker | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:3.11::el7 | atomic-openshift-tests | before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
| Red Hat:openshift:4.6::el7 | openshift | before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 |
| Red Hat:openshift:4.6::el7 | openshift-hyperkube | before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 |
| Red Hat:openshift:4.6::el8 | openshift | before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 |
| Red Hat:openshift:4.6::el8 | openshift-hyperkube | before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 |
| Red Hat:openshift:4.7::el7 | openshift | before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 |
| Red Hat:openshift:4.7::el7 | openshift-hyperkube | before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 |
+6
Same product
kubernetes: all recordsOther highest-scoring records for the same primary product.
- CVE-2018-1002105In all Kubernetes versions prior to v1.10.11, v1.11.5, and v1.12.3, incorrect handling of error responses to proxied upgrade requests in…65This week
- CVE-2019-11248Kubernetes kubelet exposes /debug/pprof info on healthz port55Plan
- CVE-2017-1002101In 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 subpath volume mounts with…42Plan
Published before and after this one in the same product
- ← EarlierCVE-2020-8561Sep 20, 2021 · Webhook redirect in kube-apiserver17Monitor
- ← EarlierCVE-2021-25740Sep 20, 2021 · Holes in EndpointSlice Validation Enable Host Network Hijack13Monitor
- Later →CVE-2021-25743Jan 6, 2022 · ANSI escape characters in kubectl output are not being filtered12Monitor
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:kubernetes | 1.20.5+really1.20.2-1 · Debian:12 | Package registry (OSV) |
| Go:k8s.io/kubernetes | 1.19.15 | Package registry (OSV) |
| Go:k8s.io/kubernetes | 1.20.11 | Package registry (OSV) |
| Go:k8s.io/kubernetes | 1.21.5 | Package registry (OSV) |
| Go:k8s.io/kubernetes | 1.22.2 | Package registry (OSV) |
| red hat:atomic-openshift | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-clients | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-clients-redistributable | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-docker-excluder | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-excluder | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-hyperkube | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-hypershift | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-master | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-node | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:atomic-openshift-pod | 0:3.11.524-1.git.0.2dffce7.el7 · Red Hat:openshift:3.11::el7 | Package registry (OSV) |
| red hat:openshift | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
| red hat:openshift-hyperkube | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 · Red Hat:openshift:4.8::el7 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×3
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:30 | 2022-01-19 |
| Proof-of-concept repository on GitHub | stars:0 | 2023-10-19 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-03-17 |
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.
- Published
- First PoC+120 d
- TodayNov 12, 2026+1878 d
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.
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.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0788 · Sep 30, 2021(RedHat Güvenlik Güncellemesi)
- TR-21-0779 · Sep 28, 2021(RedHat Güvenlik Güncellemesi)
- TR-21-0759 · Sep 21, 2021(Kubernetes Güvenlik Zafiyeti)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvd-primary
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)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.