CVE-2022-27772 json
Temporary Directory Hijacking to Local Privilege Escalation Vulnerability in org.springframework.boot:spring-boot
published 2022-03-30 4 y ago modified 2026-07-08 4 mo ago also GHSA-cm59-pr5q-cw85 , EUVD-2022-6319
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- maven org.springframework.boot:spring-boot 2.2.11.RELEASE
- vmware spring_boot 2.2.11
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.boot:spring-boot | <2.2.11.RELEASE |
2.2.11.RELEASE |
Classification
References
-
github.com
/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85
web, exploit, patch, third-party-advisory
-
github.com
/spring-projects/spring-boot/commit/667ccdae84822072f9ea1a27ed5c77964c71002d
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-27772
advisory
-
github.com
/spring-projects/spring-boot
package
Sources
- CVE List CVE-2022-27772
- GitHub Advisory GHSA-cm59-pr5q-cw85
- NVD CVE-2022-27772
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.