CVE-2018-1257 Denial of Service in org.springframework:spring-core

Medium 6.5 Published Updated

Attackers can cause denial of service in Spring Framework applications using STOMP over WebSocket with an in-memory broker via crafted messages.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1257?

CVE-2018-1257 is a medium-severity denial of service vulnerability in Oracle Agile Product Lifecycle Management, published on 11 May 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Spring Framework, versions 5.0.x prior to 5.0.6, versions 4.3.x prior to 4.3.17, and older unsupported versions allows applications to expose STOMP over WebSocket endpoints with a simple, in-memory STOMP broker through the spring-messaging module. A malicious user (or attacker) can craft a message to the broker that can lead to a regular expression, denial of service attack.

Which versions are affected by CVE-2018-1257?

4 open source packages ship an affected version, including org.springframework:spring-core. It affects 30 products.

PackageAffectedFixed in
org.springframework:spring-core MavenAll versions4.3.17
org.springframework:spring-core MavenAll versions4.3.17
org.springframework:spring-core MavenFrom 5.0.05.0.6
org.springframework:spring-core MavenFrom 5.0.05.0.6

Products include Oracle Agile Product Lifecycle Management, Oracle Application Testing Suite, Oracle Big Data Discovery, Oracle Communications Converged Application Server, Oracle Communications Diameter Signaling Router, Oracle Communications Performance Intelligence Center and 24 more.

How do I fix CVE-2018-1257?

Upgrade org.springframework:spring-core to a fixed version for your release line: 4.3.17 or 5.0.6.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-1257 being exploited?

There is no known exploitation of CVE-2018-1257 in the wild and no public exploit code.

All Oracle Agile Product Lifecycle Management vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1257, GHSA-rcpf-vj53-7h2m, UBUNTU-CVE-2018-1257.

Is CVE-2018-1257 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free