CVE-2018-11040
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libspring-java | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libspring-java | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libspring-java | Fix pending | UBUNTU-CVE-2018-11040 | |
| Ubuntu 14.04 | libspring-java | Fix pending | UBUNTU-CVE-2018-11040 | |
| Debian 14 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-11040 |
| Debian 13 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-11040 |
| Debian 12 | libspring-java | Fixed | 4.3.19-1 | DEBIAN-CVE-2018-11040 |
| Maven library | org.springframework:spring-core | Fixed | 5.0.7.RELEASE | GHSA-f26x-pr96-vw86 |
What the vendor says
As published in the CVE record by dell, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Pivotal Spring Framework: affected: 5.0.x to before 5.0.7, 4.3.x to before 4.3.18; fixed in
5.0.7,4.3.18
References
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://pivotal.io/security/cve-2018-11040
- https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.