libspring-java -- several vulnerabilities

2014-02-08T00:00:00
ID DSA-2857
Type debian
Reporter Debian
Modified 2014-02-08T00:00:00

Description

It was discovered by the Spring development team that the fix for the XML External Entity (XXE) Injection (CVE-2013-4152) in the Spring Framework was incomplete.

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

In addition Jon Passki discovered a possible XSS vulnerability: The JavaScriptUtils.javaScriptEscape() method did not escape all characters that are sensitive within either a JS single quoted string, JS double quoted string, or HTML script data context. In most cases this will result in an unexploitable parse error but in some cases it could result in an XSS vulnerability.

For the stable distribution (wheezy), these problems have been fixed in version 3.0.6.RELEASE-6+deb7u2.

For the testing distribution (jessie), these problems have been fixed in version 3.0.6.RELEASE-11.

For the unstable distribution (sid), these problems have been fixed in version 3.0.6.RELEASE-11.

We recommend that you upgrade your libspring-java packages.