CVE-2022-27772
HIGH 7.8CVSS 3.1Temporary Directory Hijacking to Local Privilege Escalation Vulnerability in org.springframework.boot:spring-boot
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
- Published
- 30 Mar 2022
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-377CWE-379CWE-668
- Also known as
- GHSA-cm59-pr5q-cw85
- Sources
- NVDJSONOSV GHSA-cm59-pr5q-cw85JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* |
< 2.2.11 | 2.2.11 |
| OSV | Maven | org.springframework.boot:spring-boot | < 2.2.11.RELEASE | 2.2.11.RELEASE |
References
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-27772 · ADVISORY
- https://github.com/spring-projects/spring-boot/commit/667ccdae84822072f9ea1a27ed5c77964c71002d · WEB
- https://github.com/spring-projects/spring-boot · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 30 Mar 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jul 2022)