Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.boot/spring-boot
  4. ›
  5. CVE-2022-27772

CVE-2022-27772: Exposure of Resource to Wrong Sphere

March 30, 2022 (updated April 5, 2022)

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.

References

  • github.com/JLLeitschuh/security-research/security/advisories/GHSA-cm59-pr5q-cw85
  • nvd.nist.gov/vuln/detail/CVE-2022-27772

Code Behaviors & Features

Detect and mitigate CVE-2022-27772 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.2.11

Fixed versions

  • 2.2.11.RELEASE

Solution

Upgrade to version 2.2.11.RELEASE or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

maven/org.springframework.boot/spring-boot/CVE-2022-27772.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.