Insecure Temporary File Affecting org.springframework.boot:spring-boot package, versions [,2.2.11.RELEASE)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Temporary File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-2438287
  • published31 Mar 2022
  • disclosed31 Mar 2022
  • credittrungPa, Jonathan Leitschuh

Introduced: 31 Mar 2022

CVE-2022-27772  (opens in a new tab)
CWE-377  (opens in a new tab)
CWE-379  (opens in a new tab)

How to fix?

Upgrade org.springframework.boot:spring-boot to version 2.2.11.RELEASE or higher.

Overview

Affected versions of this package are vulnerable to Insecure Temporary File via the org.springframework.boot.web.server.AbstractConfigurableWebServerFactory.createTempDir method, allowing for temporary directory hijacking and privilege escalation.

References

CVSS Scores

version 3.1