spring-projects/spring-framework
normalizePath
Defined in 4 files
Last patched
Overview
normalizePath in spring-projects/spring-framework was changed by 1 published CVE fixes in 2024, in 4 distinct patches that added or removed 60 lines in total.
The name occurs in 4 files: spring-webmvc/src/main/java/org/springframework/web/servlet/function/PathResourceLookupFunction.java, spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java, spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java, spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java.
spring-projects/spring-framework has 54 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed normalizePath, newest first, with the lines each fix touched.
CVE-2024-38819 · spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java · lines 150–164 · +15 −0
High · CVSS 7.5EPSS 56.0%2024-12-19CVE-2024-38819 · spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java · lines 569–583 · +15 −0
High · CVSS 7.5EPSS 56.0%2024-12-19CVE-2024-38819 · spring-webmvc/src/main/java/org/springframework/web/servlet/function/PathResourceLookupFunction.java · lines 151–165 · +15 −0
High · CVSS 7.5EPSS 56.0%2024-12-19CVE-2024-38819 · spring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java · lines 728–742 · +15 −0
High · CVSS 7.5EPSS 56.0%2024-12-19
Get an alert when the next CVE fix lands in spring-projects/spring-framework, with the patched functions.
Monitor spring-framework CVEsOther functions in these files
Functions in the same files that CVE fixes also changed.
- 1getResourcespring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java2 CVEs · 6 patches2014 to 2018
- 2processPathspring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java2 CVEs · 4 patches2014 to 2024
- 3isInvalidPathspring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java2 CVEs · 3 patches2018 to 2024
- 4processPathspring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java2 CVEs · 2 patches2024
- 5processPathspring-webmvc/src/main/java/org/springframework/web/servlet/function/PathResourceLookupFunction.java2 CVEs · 2 patches2024
- 6isInvalidEncodedPathspring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java1 CVEs · 2 patches2018
- 7cleanDuplicateSlashesspring-webmvc/src/main/java/org/springframework/web/servlet/resource/ResourceHttpRequestHandler.java1 CVEs · 2 patches2018
- 8getResourcespring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java1 CVEs · 2 patches2018
Other hotspots in the repository
Functions in spring-projects/spring-framework changed by the most CVE fixes.
Frequently asked questions
Common questions about CVE fixes to normalizePath.
- How many CVEs have patched normalizePath?
- 1 published CVEs changed normalizePath in spring-projects/spring-framework, in 4 distinct patches totalling 60 changed lines, between 2024 and 2024.
- What is the latest CVE that changed normalizePath?
- CVE-2024-38819 (Spring Framework Path Traversal vulnerability), published 2024-12-19, changed lines 150 to 164 of spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java.
- How does normalizePath compare to the rest of spring-projects/spring-framework?
- spring-projects/spring-framework has 54 CVEs with a located fix in total; 1 of them changed normalizePath.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- spring-webmvc/src/main/java/org/springframework/web/servlet/function/PathResourceLookupFunction.java on GitHub (opens in a new tab)
- spring-webflux/src/main/java/org/springframework/web/reactive/function/server/PathResourceLookupFunction.java on GitHub (opens in a new tab)
- spring-webflux/src/main/java/org/springframework/web/reactive/resource/ResourceWebHandler.java on GitHub (opens in a new tab)
- All patched functions in spring-projects/spring-framework
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track spring-projects/spring-framework CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.