CVE-2021-4217
Low · 3.3CVSS
3.3
EPSS
0.6%
Published
Aug 24, 2022
CISA due date
—
Cloudanix analysis
A bug in a Kubernetes DNS helper tool could let attackers inside the system gain extra powers they should not have.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Privilege Escalation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits unauthorized privilege escalation within the kubernetes-dns-node-cache process, allowing a lower-privileged user or container to obtain elevated capabilities.
Why it matters to the business
Compromised nodes could enable broader cluster access, increasing risk of data exposure or service takeover in Kubernetes environments; low EPSS and absence from KEV indicate limited active exploitation but the four-year-old issue still warrants patching in affected Chainguard and Wolfi deployments.
How an attack unfolds
An attacker with initial low-privilege access to a node running kubernetes-dns-node-cache leverages the privilege-escalation weakness to elevate rights, potentially moving laterally within the cluster; no named threat actors are associated.
How to fix it
Upgrade kubernetes-dns-node-cache to the fixed version 0 on both Chainguard and Wolfi distributions; verify the update via package manager and restart affected services.
How to confirm the fix worked
Confirm the installed package version matches the fixed release 0; re-run any existing vulnerability scanners against the updated images.
Typical attack path
- Obtain initial low-privileged access on a Kubernetes node
- Trigger the dns-node-cache component with crafted input or environment
- Escalate to higher privileges or root-equivalent context
- Establish persistence or pivot to other cluster resources
How to detect it
Review system and container logs for unexpected privilege changes or abnormal dns-node-cache process behavior; no specific threat-actor indicators are known.
What your security team should do
- Apply the version-0 fix to all Chainguard and Wolfi kubernetes-dns-node-cache instances immediately
- Audit running containers for the vulnerable package
- Monitor EPSS and KEV feeds for any future changes in exploitability
The record
A flaw was found in unzip. The vulnerability occurs due to improper handling of Unicode strings, which can lead to a null pointer dereference. This flaw allows an attacker to input a specially crafted zip file, leading to a crash or code execution.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.17 | unzip | 0 | 6.0-r11 |
| Alpine:v3.18 | unzip | 0 | 6.0-r11 |
| Alpine:v3.19 | unzip | 0 | 6.0-r11 |
| Alpine:v3.20 | unzip | 0 | 6.0-r11 |
| Alpine:v3.21 | unzip | 0 | 6.0-r11 |
| Alpine:v3.22 | unzip | 0 | 6.0-r11 |
| Debian:10 | unzip | 0 | No fix |
| Debian:11 | unzip | 0 | No fix |
| Debian:12 | unzip | 0 | No fix |
| Debian:13 | unzip | 0 | No fix |
| Mageia:8 | unzip | 0 | 6.0-2.1.mga8 |
| Ubuntu:18.04:LTS | unzip | 0 | 6.0-21ubuntu1.2 |
| Ubuntu:20.04:LTS | unzip | 0 | 6.0-25ubuntu1.1 |
| Ubuntu:22.04:LTS | unzip | 0 | 6.0-26ubuntu3.1 |
| Ubuntu:24.04:LTS | unzip | 0 | No fix |
| Ubuntu:24.04:LTS | unzip | 0 | 6.0-28ubuntu4.1 |
| Ubuntu:Pro:14.04:LTS | unzip | 0 | 6.0-9ubuntu1.6+esm1 |
| Ubuntu:Pro:16.04:LTS | unzip | 0 | 6.0-20ubuntu1.1+esm1 |
Related vulnerabilities
- CVE-2016-9844 Buffer overflow in the zi_short function in zipinfo.c in Info-Zip UnZip 6.0 allows remote… Also affects unzip
- CVE-2014-9913 Buffer overflow in the list_files function in list.c in Info-Zip UnZip 6.0 allows remote… Also affects unzip
- CVE-2015-7697 Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (infinite loop)… Also affects unzip
- CVE-2015-7696 Info-ZIP UnZip 6.0 allows remote attackers to cause a denial of service (heap-based… Also affects unzip
- CVE-2014-9636 unzip 6.0 allows remote attackers to cause a denial of service (out-of-bounds read or… Also affects unzip
- CVE-2003-0282 Directory traversal vulnerability in UnZip 5.50 allows attackers to overwrite arbitrary… Also affects unzip
- CVE-2026-121522 In BuildKit versions v0.26.0 through v0.34.1, a specific build definition that resolves… CWE-476
- CVE-2026-120955 The GridFS file download API in the MongoDB C Driver does not check the result of an… CWE-476