Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework/spring-core
  4. ›
  5. CVE-2018-11040

CVE-2018-11040: Inclusion of Functionality from Untrusted Control Sphere

October 16, 2018 (updated October 21, 2021)

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.

References

  • www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
  • github.com/advisories/GHSA-f26x-pr96-vw86
  • lists.debian.org/debian-lts-announce/2021/04/msg00022.html
  • nvd.nist.gov/vuln/detail/CVE-2018-11040
  • pivotal.io/security/cve-2018-11040
  • www.oracle.com/security-alerts/cpujan2020.html
  • www.oracle.com/security-alerts/cpujul2020.html
  • www.oracle.com/security-alerts/cpuoct2021.html
  • www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
  • www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
  • www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html

Code Behaviors & Features

Detect and mitigate CVE-2018-11040 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.0.7, all versions starting from 4.3.0 before 4.3.18

Fixed versions

  • 5.0.7
  • 4.3.18

Solution

Upgrade to versions 4.3.18, 5.0.7 or above.

Impact 5.9 MEDIUM

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere

Source file

maven/org.springframework/spring-core/CVE-2018-11040.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:15 +0000.