CVE-2018-1274 Spring Data Commons contain a property path parser vulnerability caused by unlimited resource allocation

High 7.5 Published Updated

Unauthenticated attackers can cause denial of service via resource exhaustion in Spring Data Commons property path parsing.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1274?

CVE-2018-1274 is a high-severity denial of service vulnerability in Spring Framework, published on 18 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Spring Data Commons, versions 1.13 to 1.13.10, 2.0 to 2.0.5, and older unsupported versions, contain a property path parser vulnerability caused by unlimited resource allocation. An unauthenticated remote malicious user (or attacker) can issue requests against Spring Data REST endpoints or endpoints using property path parsing which can cause a denial of service (CPU and memory consumption).

Weakness: CWE-770

Which versions are affected by CVE-2018-1274?

4 open source packages ship an affected version, including org.springframework.data:spring-data-commons. It affects 3 products.

PackageAffectedFixed in
org.springframework.data:spring-data-commons MavenAll versions1.13.11
org.springframework.data:spring-data-commons MavenAll versions1.13.11
org.springframework.data:spring-data-commons MavenFrom 2.0.02.0.6
org.springframework.data:spring-data-commons MavenFrom 2.0.02.0.6

Products include Broadcom Spring Data Commons, Pivotal Software Spring Data Rest, Vmware Spring Data Rest.

How do I fix CVE-2018-1274?

Upgrade org.springframework.data:spring-data-commons to a fixed version for your release line: 1.13.11 or 2.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-1274 being exploited?

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

Sources

Also known as GHSA-5q8m-mqmx-pxp9.

Is CVE-2018-1274 in your software?

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

Check your SBOMs for free