Description
The Jaxb2RootElementHttpMessageConverter in Spring MVC in Spring Framework before 3.2.8 and 4.0.0 before 4.0.2 does not disable external entity resolution, which allows remote attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML, aka an XML External Entity (XXE) issue. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-4152, CVE-2013-7315, and CVE-2013-6429.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 13 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 12 | libspring-java | 3.0.6.RELEASE-13 | — |
| Debian 7 | libspring-java | 3.0.6.RELEASE-6+deb7u3 | DSA-2890-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework:spring-webmvc | < 3.2.8 | 3.2.8 | GHSA-8cmm-qj8g-fcp6 |
| Maven | org.springframework:spring-webmvc | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-8cmm-qj8g-fcp6 |
Advisories 1
- DSA-2890-1 libspring-java - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- 66148 vdb-entry
- https://jira.spring.io/browse/SPR-11376
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- RHSA-2014:0400 vendor-advisory
- 57915 third-party-advisory