Skip to content
OpenAdvisories
Medium CVE-2013-7315 EUVD-2022-5391GHSA-vp63-rrcm-9mph

Missing XML Validation in Spring Framework

Published Jan 23, 2014 · Updated Aug 6, 2024 · Assigned by mitre

Description

The Spring MVC in Spring Framework before 3.2.4 and 4.0.0.M1 through 4.0.0.M2 does not disable external entity resolution for the StAX XMLInputFactory, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via crafted XML with JAXB, aka an XML External Entity (XXE) issue, and a different vulnerability than CVE-2013-4152. NOTE: this issue was SPLIT from CVE-2013-4152 due to different affected versions.

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.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java 3.0.6.RELEASE-10 —
Debian 13 libspring-java 3.0.6.RELEASE-10 —
Debian 12 libspring-java 3.0.6.RELEASE-10 —
Debian 7 libspring-java 3.0.6.RELEASE-6+deb7u1 DSA-2842-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-oxm < 3.2.4.RELEASE 3.2.4.RELEASE GHSA-vp63-rrcm-9mph

Advisories 1

References