GitHub Advisoryadvisory · Maven

GHSA-gfwj-fwqj-fp3v Improper Privilege Management in Spring Framework

HIGH Published 2022-05-24 Modified 2023-07-19 Official page ↗
Aliases
CVE-2021-22118
Ecosystem
Maven
Packages
org.springframework:spring-web
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-269, CWE-668
Reviewed
2022-06-22

Affected packages

• Maven org.springframework:spring-web: >= 5.2.0, < 5.2.15 → fixed in 5.2.15 • Maven org.springframework:spring-web: >= 5.3.0, < 5.3.7 → fixed in 5.3.7

Description

In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege escalation: by (re)creating the temporary storage directory, a locally authenticated malicious user can read or modify files that have been uploaded to the WebFlux application, or overwrite arbitrary files with multipart request data.

Related

Alias · CVE (1)

  • CVE-2021-22118 In Spring Framework, versions 5.2.x prior to 5.2.15 and versions 5.3.x prior to 5.3.7, a WebFlux application is vulnerable to a privilege… vulnerability

Weakness · CWE (2)

  • CWE-269 Improper Privilege Management weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References