Back

HIGH

springframework: cross-domain requests via JSONP through AbstractJsonpResponseBodyAdvice

Published Jun 25, 2018

Description

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.

Affected products

Remediation

Red Hat statement

From an OpenDaylight perspective, whilst the shipped versions of Open Dayight ship artifacts which fall within the affected versions ("older unsupported versions"), this flaw only has impact when JSONP is used in certain circumstances. Given the libraries themselves are not used in a vulnerable way, being only used as part of tests, no package update to mitigate this flaw for Open Daylight is required. The package rhevm-dependencies does not include the spring-webmvc component, where this vulnerability exists.

Red Hat mitigation

According to the upstream advisory, this vulnerability only applies to applications that do all of the following: * Explicitly configure MappingJackson2JsonView. * Do not set the jsonpParameterNames property of MappingJackson2JsonView to an empty set. * Expose sensitive user information over endpoints that can render content with JSONP.

Metrics

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner dell
Published Jun 25, 2018
Updated Sep 17, 2024
Reserved May 14, 2018
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Low
Public date Jun 14, 2018
GHSA-F26X-PR96-VW86