Name | CVE-2018-11040 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2635-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libspring-java (PTS) | bullseye | 4.3.30-1 | fixed |
sid, trixie, bookworm | 4.3.30-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libspring-java | source | jessie | (not affected) | |||
libspring-java | source | stretch | 4.3.5-1+deb9u1 | DLA-2635-1 | ||
libspring-java | source | (unstable) | 4.3.19-1 |
[jessie] - libspring-java <not-affected> (Vulnerable code introduced later)
https://pivotal.io/security/cve-2018-11040
https://github.com/spring-projects/spring-framework/issues/21338
https://github.com/spring-projects/spring-framework/commit/874859493bbda59739c38c7e52eb3625f247b93a (v4.3.18)
Introduced by https://github.com/spring-projects/spring-framework/commit/5dc27ee134d28c7b25d0f6d3e9059f80c95d4402 (v4.1)