CVE-2014-0054 Incomplete fix for CVE-2013-7315 / CVE-2013-6429 (XXE)


Severity

Important

Vendor

Spring by Pivotal

Versions Affected
  • Spring MVC 3.0.0 to 3.2.7
  • Spring MVC 4.0.0 to 4.0.1
  • Earlier unsupported versions may be affected
Description

Spring MVC's Jaxb2RootElementHttpMessageConverter also processed user provided XML and neither disabled XML external entities nor provided an option to disable them. Jaxb2RootElementHttpMessageConverter has been modified to provide an option to control the processing of XML external entities and that processing is now disabled by default.

Mitigation

Users of affected versions should apply the following mitigation:

  • Users of 3.x should upgrade to 3.2.8 or later
  • Users of 4.x should upgrade to 4.0.2 or later
Credit

This issue was reported to the Spring Framework developers by Spase Markovski.

References
History

2014-Mar-11: Initial vulnerability report published.

2014-Jun-19: Update to reflect split of CVE-2013-4152 into CVE-2013-4152 and CVE-2013-7315.

2014-Aug-19: Correct affected versions to exclude Spring MVC 3.2.8 and include a reference to the 3.2.x commit.