CVE-2015-3192: org.springframework:spring-core - Denial of Service Vulnerability

Summary

17/10/2018
Yes i
Moderate
5.5

CVE-2015-3192: Pivotal Spring Framework DoS Attack with XML Input. Affects org.springframework:spring-web across 3 version ranges.

< 3.2.14 >= 4.0.0, < 4.1.7 >= 5.0.0.RC2, < 5.0.0.RC3

Fixed in 3.2.14, 4.1.7 or 5.0.0.RC3, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2015-3192 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

org.springframework:spring-core is a core module of the Spring Framework, which provides essential features and utilities for Spring-based applications. It is widely used in Java applications for dependency injection, transaction management, and other enterprise-level functionalities. This vulnerability affects versions before 3.2.14 and 4.x before 4.1.7 of the framework.

Vulnerability Detail

The vulnerability (CVE-2015-3192) in org.springframework:spring-core arises from improper processing of inline DTD declarations when DTD is not entirely disabled. This flaw allows remote attackers to launch a denial of service attack by exploiting a crafted XML file. By sending a malicious XML file, an attacker can cause excessive memory consumption and trigger out-of-memory errors, leading to service disruption and potential system crashes.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.14 3.2.14
  • >= 4.0.0, < 4.1.7 4.1.7
  • >= 5.0.0.RC2, < 5.0.0.RC3 5.0.0.RC3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, it is possible to disable DTD processing entirely by configuring the XML parser used by the application. This can be achieved by setting the 'http://apache.org/xml/features/disallow-doctype-decl' property to 'true'. However, this workaround may impact the functionality of the application if it relies on DTD processing for legitimate purposes. It is recommended to apply the official fix as soon as possible.

Conclusion

The vulnerability in org.springframework:spring-core can be exploited by remote attackers to cause a denial of service. To mitigate this risk, it is crucial to update to the fixed version of the framework. Alternatively, a temporary workaround can be applied by disabling DTD processing, but this may impact the application's functionality. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.springframework:spring-web →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to cause a denial of service by consuming excessive memory and triggering out-of-memory errors. This can lead to service disruption and potential system crashes.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the pom.xml file.

While there are no known public exploits for this vulnerability, it is still important to apply the fix to prevent potential attacks.

As a temporary workaround, you can disable DTD processing entirely by configuring the XML parser. However, this may impact the functionality of the application and it is recommended to apply the official fix.

You can find more information about this vulnerability in the National Vulnerability Database (NVD) entry: https://nvd.nist.gov/vuln/detail/CVE-2015-3192

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework:spring-web.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 3.2.14 3.2.14
  • >= 4.0.0, < 4.1.7 4.1.7
  • >= 5.0.0.RC2, < 5.0.0.RC3 5.0.0.RC3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback