What’s Vulnerable › Vulnerabilities
CVE-2022-27772
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-03-30 · updated 2026-06-17
- Weakness: CWE-668
Description
spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. This vulnerability impacted the org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir method. NOTE: This vulnerability only affects products and/or versions that are no longer supported by the maintainer
Affected products
- Spring Boot: before 2.2.11 — fixed in 2.2.11
How to fix
Upgrade to a fixed version: Spring Boot 2.2.11. Check the vendor advisory for mitigations.
References
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85
Get alerted when CVE-2022-27772 or the next vulnerability affects your stack