From 65a95cd78b0900e7aa7e58e8a6e729e6f2d3ac6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B3zsef=20Norbert=20M=C3=A9sz=C3=A1ros?= Date: Tue, 22 Sep 2026 17:22:21 +0200 Subject: [PATCH] Improve GHSA-36p3-wjmg-h94x --- .../GHSA-36p3-wjmg-h94x.json | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/advisories/github-reviewed/2022/03/GHSA-36p3-wjmg-h94x/GHSA-36p3-wjmg-h94x.json b/advisories/github-reviewed/2022/03/GHSA-36p3-wjmg-h94x/GHSA-36p3-wjmg-h94x.json index b35de5ca614e..d32d3f16b46d 100644 --- a/advisories/github-reviewed/2022/03/GHSA-36p3-wjmg-h94x/GHSA-36p3-wjmg-h94x.json +++ b/advisories/github-reviewed/2022/03/GHSA-36p3-wjmg-h94x/GHSA-36p3-wjmg-h94x.json @@ -1,7 +1,7 @@ { "schema_version": "1.4.0", "id": "GHSA-36p3-wjmg-h94x", - "modified": "2025-10-22T19:18:34Z", + "modified": "2025-10-22T19:18:35Z", "published": "2022-03-31T18:30:50Z", "aliases": [ "CVE-2022-22965" @@ -10,8 +10,8 @@ "details": "Spring Framework prior to versions 5.2.20 and 5.3.18 contains a remote code execution vulnerability known as `Spring4Shell`. \n\n## Impact\n\nA Spring MVC or Spring WebFlux application running on JDK 9+ may be vulnerable to remote code execution (RCE) via data binding. The specific exploit requires the application to run on Tomcat as a WAR deployment. If the application is deployed as a Spring Boot executable jar, i.e. the default, it is not vulnerable to the exploit. However, the nature of the vulnerability is more general, and there may be other ways to exploit it.\n\nThese are the prerequisites for the exploit:\n- JDK 9 or higher\n- Apache Tomcat as the Servlet container\n- Packaged as WAR\n- `spring-webmvc` or `spring-webflux` dependency\n\n## Patches\n\n- Spring Framework [5.3.18](https://github.com/spring-projects/spring-framework/releases/tag/v5.3.18) and [5.2.20](https://github.com/spring-projects/spring-framework/releases/tag/v5.2.20.RELEASE)\n- Spring Boot [2.6.6](https://github.com/spring-projects/spring-boot/releases/tag/v2.6.6) and [2.5.12](https://github.com/spring-projects/spring-boot/releases/tag/v2.5.12)\n\n## Workarounds\n\nFor those who are unable to upgrade, leaked reports recommend setting `disallowedFields` on `WebDataBinder` through an `@ControllerAdvice`. This works generally, but as a centrally applied workaround fix, may leave some loopholes, in particular if a controller sets `disallowedFields` locally through its own `@InitBinder` method, which overrides the global setting.\n\nTo apply the workaround in a more fail-safe way, applications could extend `RequestMappingHandlerAdapter` to update the `WebDataBinder` at the end after all other initialization. In order to do that, a Spring Boot application can declare a `WebMvcRegistrations` bean (Spring MVC) or a `WebFluxRegistrations` bean (Spring WebFlux).", "severity": [ { - "type": "CVSS_V3", - "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H" + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/SA:N" } ], "affected": [ @@ -25,10 +25,10 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "5.3.0" }, { - "fixed": "5.2.20.RELEASE" + "fixed": "5.3.18" } ] } @@ -37,7 +37,7 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework:spring-beans" + "name": "org.springframework:spring-webmvc" }, "ranges": [ { @@ -56,7 +56,7 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework:spring-webmvc" + "name": "org.springframework.boot:spring-boot-starter-web" }, "ranges": [ { @@ -66,7 +66,7 @@ "introduced": "0" }, { - "fixed": "5.2.20.RELEASE" + "fixed": "2.5.12" } ] } @@ -75,17 +75,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework:spring-webmvc" + "name": "org.springframework.boot:spring-boot-starter-web" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "5.3.0" + "introduced": "2.6.0" }, { - "fixed": "5.3.18" + "fixed": "2.6.6" } ] } @@ -94,17 +94,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework.boot:spring-boot-starter-web" + "name": "org.springframework:spring-webflux" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "5.3.0" }, { - "fixed": "2.5.12" + "fixed": "5.3.18" } ] } @@ -113,17 +113,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework.boot:spring-boot-starter-web" + "name": "org.springframework.boot:spring-boot-starter-webflux" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "2.6.0" + "introduced": "0" }, { - "fixed": "2.6.6" + "fixed": "2.5.12" } ] } @@ -132,17 +132,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework:spring-webflux" + "name": "org.springframework.boot:spring-boot-starter-webflux" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "2.6.0" }, { - "fixed": "5.2.20.RELEASE" + "fixed": "2.6.6" } ] } @@ -151,17 +151,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework:spring-webflux" + "name": "org.springframework:spring-beans" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "5.3.0" + "introduced": "0" }, { - "fixed": "5.3.18" + "fixed": "5.2.20.RELEASE" } ] } @@ -170,7 +170,7 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework.boot:spring-boot-starter-webflux" + "name": "org.springframework:spring-webmvc" }, "ranges": [ { @@ -180,7 +180,7 @@ "introduced": "0" }, { - "fixed": "2.5.12" + "fixed": "5.2.20.RELEASE" } ] } @@ -189,17 +189,17 @@ { "package": { "ecosystem": "Maven", - "name": "org.springframework.boot:spring-boot-starter-webflux" + "name": "org.springframework:spring-webflux" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { - "introduced": "2.6.0" + "introduced": "0" }, { - "fixed": "2.6.6" + "fixed": "5.2.20.RELEASE" } ] } @@ -285,7 +285,7 @@ "CWE-74", "CWE-94" ], - "severity": "CRITICAL", + "severity": "LOW", "github_reviewed": true, "github_reviewed_at": "2022-03-31T18:30:50Z", "nvd_published_at": "2022-04-01T23:15:00Z"