HIGH
CVE-2021-25742
CWE-20Published: October 29, 2021· Updated: Jun 17, 2026
7.1
CVSS v3.1
Official Description
A security issue was discovered in ingress-nginx where a user that can create or update ingress objects can use the custom snippets feature to obtain all secrets in the cluster.
Technical Analysis
CVE-2021-25742 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), with a CVSS base score of 7.1.
CVSS v3.1 Vector Breakdown
Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityLow
AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
Affected Vendors & Products
Exploit & PoC Resources
NO KNOWN EXPLOITNo public exploit confirmed at this time
Exploit-DB
Offensive Security exploit database
GitHub PoC Search
Community PoC repositories
Rapid7 / Metasploit
Metasploit module search
PacketStorm
Security advisories & exploits
NVD Detail
Official NIST entry
MITRE CVE
CVE Program entry
External links open in a new tab. Always verify in a controlled environment before use.
Official Patches & Advisories
All References (6)
→
https://github.com/kubernetes/ingress-nginx/issues/7837Exploit · Issue Tracking · Mitigation · Third Party Advisory
→
https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQYMailing List · Mitigation · Third Party Advisory
→
https://security.netapp.com/advisory/ntap-20211203-0001/Third Party Advisory
→
https://github.com/kubernetes/ingress-nginx/issues/7837Exploit · Issue Tracking · Mitigation · Third Party Advisory
→
https://groups.google.com/g/kubernetes-security-announce/c/mT4JJxi9tQYMailing List · Mitigation · Third Party Advisory
→
https://security.netapp.com/advisory/ntap-20211203-0001/Third Party Advisory
Quick Facts
CVE IDCVE-2021-25742
CVSS Score7.1 / 10
SeverityHIGH
WeaknessCWE-20
CISA KEVNo
Affected2 vendor(s)
PublishedOct 29, 2021
Related CVEs (CWE-20)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-25742 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.