GHSA-9gcm-f4x3-8jpw
Spring Framework Cross Site Tracing (XST)
Quick fix
GHSA-9gcm-f4x3-8jpw — org.springframework:spring-web: upgrade to the fixed version with the command below.
# pom.xml: bump <version>5.0.7</version> for org.springframework:spring-webDetails
Spring Framework (versions 5.0.x prior to 5.0.7, versions 4.3.x prior to 4.3.18, and older unsupported versions) allow web applications to change the HTTP request method to any HTTP method (including TRACE) using the HiddenHttpMethodFilter in Spring MVC. If an application has a pre-existing XSS vulnerability, a malicious user (or attacker) can use this filter to escalate to an XST (Cross Site Tracing) attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
5.0.0Fixed in: 5.0.7# pom.xml: bump <version>5.0.7</version> for org.springframework:spring-web4.3.0Fixed in: 4.3.18# pom.xml: bump <version>4.3.18</version> for org.springframework:spring-webReferences
- https://nvd.nist.gov/vuln/detail/CVE-2018-11039[ADVISORY]
- https://github.com/spring-projects/spring-framework/issues/21376[WEB]
- https://github.com/spring-projects/spring-framework/commit/323ccf99e575343f63d56e229c25c35c170b7ec1[WEB]
- https://github.com/spring-projects/spring-framework/commit/a5cd01a4c857aaaba7ccc51545fc73dd25b5cba5[WEB]
- https://github.com/spring-projects/spring-framework/commit/dac97f1b7dac3e70ff603fb6fc9f205b95dd6b01[WEB]
- https://github.com/spring-projects/spring-framework/commit/f2694a8ed93f1f63f87ce45d0bb638478b426acd[WEB]
- https://github.com/spring-projects/spring-framework/commit/f64fa3dea10af125d612d3a997aece93d21bc875[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html[WEB]
- https://www.oracle.com/security-alerts/cpuoct2021.html[WEB]
- https://www.oracle.com/security-alerts/cpujul2020.html[WEB]
- https://www.oracle.com/security-alerts/cpujan2020.html[WEB]
- https://spring.io/security/cve-2018-11039[WEB]
- https://pivotal.io/security/cve-2018-11039[WEB]
- https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html[WEB]
- https://github.com/spring-projects/spring-framework[PACKAGE]
- https://github.com/advisories/GHSA-9gcm-f4x3-8jpw[ADVISORY]
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html[WEB]
- http://www.securityfocus.com/bid/107984[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.springframework/spring-web"]}'