VDB
Sign up
MEDIUM5.9

GHSA-f26x-pr96-vw86

Moderate severity vulnerability that affects org.springframework:spring-core

Quick fix

GHSA-f26x-pr96-vw86 — org.springframework:spring-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>5.0.7.RELEASE</version> for org.springframework:spring-core

Details

Spring Framework, versions 5.0.x prior to 5.0.7 and 4.3.x prior to 4.3.18 and older unsupported versions, allows web applications to enable cross-domain requests via JSONP (JSON with Padding) through AbstractJsonpResponseBodyAdvice for REST controllers and MappingJackson2JsonView for browser requests. Both are not enabled by default in Spring Framework nor Spring Boot, however, when MappingJackson2JsonView is configured in an application, JSONP support is automatically ready to use through the "jsonp" and "callback" JSONP parameters, enabling cross-domain requests.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.springframework:spring-core
Introduced in: 5.0.0.RELEASEFixed in: 5.0.7.RELEASE
Fix# pom.xml: bump <version>5.0.7.RELEASE</version> for org.springframework:spring-core
Maven/org.springframework:spring-core
Introduced in: 4.3.0.RELEASEFixed in: 4.3.18.RELEASE
Fix# pom.xml: bump <version>4.3.18.RELEASE</version> for org.springframework:spring-core

References