CVE-2021-22113 — spring-cloud-netflix-zuul
Fix: spring-cloud/spring-cloud-netflix@8ecb3dcCVE-2021-22113 is a CWE-863 vulnerability in org.springframework.cloud:spring-cloud-netflix-zuul. A fix is available for org.springframework.cloud:spring-cloud-netflix-zuul — see the affected versions and patch details below.
Incorrect Authorization in Spring Cloud Netflix Zuul
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.springframework.cloud:spring-cloud-netflix-zuulReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Applications using the “Sensitive Headers” functionality in Spring Cloud Netflix Zuul 2.2.6.RELEASE and below may be vulnerable to bypassing the “Sensitive Headers” restriction when executing requests with specially constructed URLs. Applications that use Spring Security's StrictHttpFirewall (enabled by default for all URLs) are not affected by the vulnerability, as they reject requests that allow bypassing.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.cloud:spring-cloud-netflix-zuul | all versions | 2.2.7org.springframework.cloud:spring-cloud-netflix-zuul:2.2.7 |
Affected Products
spring cloud netflix zuulvmwareDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.cloud:spring-cloud-netflix-zuul, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework.cloud:spring-cloud-netflix-zuul to 2.2.7 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-22113 is resolved across your whole dependency graph.
Workarounds
Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.
Frequently Asked Questions
Is CVE-2021-22113 in your dependencies?
Find it across Maven, including transitive dependencies.