WaratekVRT Sign in

CVE-2022-27772 Spring Boot

Affected softwareSpring Boot
Severity7.8 High CVSS 3.1 2 scores
Fixed in2.2.11.RELEASE
WeaknessCWE-668
Published30 Mar 2022
Updated17 Jun 2026

Tagged unsupported-when-assigned. The affected software was already out of support when the CVE was assigned.

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

CWE-377CWE-379

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.60% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: spring-projects/spring-boot 667ccda.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active unsupported-when-assigned
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85 : the maintainers' own security advisory: names the version that fixes it, so the fix is the difference between two releases

CVSS

7.8 HIGH v3.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.8 HIGH CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 4.6 none AV:L/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.boot:spring-boot 0 2.2.11.RELEASE unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.boot spring-boot generic < 2.2.11
nvd vmware spring boot generic < 2.2.11

References

URLTags
https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85 advisory
https://github.com/spring-projects/spring-boot/commit/667ccdae84822072f9ea1a27ed5c77964c71002d WEB
https://github.com/spring-projects/spring-boot PACKAGE

Timeline

Published2022-03-30By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.