CVE-2014-0225
Improper Restriction of XML External Entity Reference in Spring Framework
Reported by dell · Published May 25, 2017
spring-oxm is fixed in 4.0.4.RELEASE and 3.2.8.RELEASE (Maven Central)
When processing user provided XML documents, the Spring Framework 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, and possibly earlier unsupported versions did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework:spring-oxm | Maven Central | 4.0.4.RELEASE, 3.2.8.RELEASE |
| org.springframework:spring-web | Maven Central | 4.0.4.RELEASE, 3.2.8.RELEASE |
| org.springframework:spring-webmvc | Maven Central | 4.0.5, 3.2.8 |
| libspring-java | Ubuntu:Pro:14.04:LTS | 3.0.6.RELEASE-13ubuntu0.1~esm1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Pivotal | Spring Framework | 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, Earlier unsupported versions may be affected |
| Maven | org.springframework:spring-web | 3, 4 |
| Maven | org.springframework:spring-oxm | 3-alpha0, 4-alpha0 |
| Pivotal | Spring Framework | 4.0.0, 3.0.0, * |
| Maven | org.springframework:spring-webmvc | 3.0.0, 4.0.0 |
Timeline
- May 25, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Aug 6, 2024 CVE Updated
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (2 in total, the first dated here)
- Oct 22, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2014-0225
vulnetix vdb fixes CVE-2014-0225
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2014-0225/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2014-0225 advisory
- https://github.com/spring-projects/spring-framework/commit/8e096aeef55287dc829484996c9330cf755891a1 patch
- https://github.com/spring-projects/spring-framework/commit/c6503ebbf7c9e21ff022c58706dbac5417b2b5eb patch
- https://jira.spring.io/browse/SPR-11768 url
- https://github.com/advisories/GHSA-f93f-g33r-8pcp advisory
- http://www.gopivotal.com/security/cve-2014-0225 url
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-0225 url