Bug 1565926 (CVE-2018-1274)

Summary: CVE-2018-1274 spring-data-commons: Unlimited path depth in PropertyPath.java allow remote attackers to cause a denial of service
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dffrench, drusso, java-sig-commits, jmadigan, jshepherd, lgriffin, ngough, puntogil, pwright, rrajasek, trepel
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spring-data-commons 1.13.11, spring-data-commons 2.0.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:59:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1565928    
Bug Blocks: 1565924    

Description Sam Fowler 2018-04-11 04:47:07 UTC
Spring Data Commons, versions 1.13 to 1.13.10 and 2.0 to 2.0.5, 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).


External References:

https://pivotal.io/security/cve-2018-1274


Upstream Issue:

https://jira.spring.io/browse/DATACMNS-1285


Upstream Patches:

https://github.com/spring-projects/spring-data-commons/commit/371f6590c509c72f8e600f3d05e110941607fbad
https://github.com/spring-projects/spring-data-commons/commit/3d8576fe4e4e71c23b9e6796b32fd56e51182ee0

Comment 2 Sam Fowler 2018-04-11 05:03:23 UTC
Created springframework-data-commons tracking bugs for this issue:

Affects: fedora-all [bug 1565928]