Skip to content
OpenAdvisories
Medium CVE-2013-4152 EUVD-2022-5203GHSA-rp4p-g69r-438x

Cross-Site Request Forgery in Spring Framework

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

Description

The Spring OXM wrapper in Spring Framework before 3.2.4 and 4.0.0.M1, when using the JAXB marshaller, does not disable entity resolution, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via an XML external entity declaration in conjunction with an entity reference in a (1) DOMSource, (2) StAXSource, (3) SAXSource, or (4) StreamSource, aka an XML External Entity (XXE) issue.

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
ReleasePackageFixed inAdvisory
Red Hat OpenShift 2 activemq +1 5.9.0-4.redhat.610328.el6op RHSA-2014:0245
Red Hat OpenShift 1 activemq +1 5.9.0-4.redhat.610328.el6op RHSA-2014:0254

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-oxm < 3.2.4.RELEASE 3.2.4.RELEASE GHSA-rp4p-g69r-438x

Advisories 3

References