Bug 1578578 (CVE-2018-1257)

Summary: CVE-2018-1257 spring-framework: ReDoS Attack with spring-messaging
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aileenc, alazarot, anstephe, apevec, bmaxwell, cdewolf, chazlett, chrisw, claprun, csutherl, darran.lofthouse, dblechte, dfediuck, dffrench, dimitris, dosoudil, drieden, drusso, eedri, etirelli, gvarsami, ibek, java-sig-commits, jawilson, jcoleman, jjoyce, jmadigan, jolee, jschatte, jschluet, jshepherd, jstastny, kbasil, kconner, krathod, kverlaen, ldimaggi, lef, lgao, lgriffin, lhh, lpeer, lpetrovi, markmc, mburns, mgoldboi, michal.skrivanek, mkolesni, myarboro, ngough, nobody, nwallace, paradhya, pavelp, pgier, psakar, pslavice, puntogil, pwright, rbryant, rhel8-maint, rnetuka, rrajasek, rsvoboda, rsynek, rwagner, rzhang, sbonazzo, sclewis, sdaley, sherold, sisharma, slinaber, slukasik, ssaha, tcunning, tdecacqu, tkirby, trepel, twalsh, vbellur, vhalbert, vtunka, yturgema
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spring-framework 5.0.6, spring-framework 4.3.17 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:22:59 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: 1578579, 1578580, 1578938    
Bug Blocks: 1578941    

Description Laura Pardo 2018-05-15 22:13:03 UTC
A flaw was found in 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.


References:
https://pivotal.io/security/cve-2018-1257

Comment 1 Laura Pardo 2018-05-15 22:14:34 UTC
Created springframework tracking bugs for this issue:

Affects: fedora-all [bug 1578579]

Comment 5 Jason Shepherd 2018-05-21 07:21:15 UTC
RHMAP doesn't make sure of websocket stomp as described in https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#websocket-stomp-enable

Marking RHMAP as not affected.

Comment 6 James Hebden 2018-05-25 04:07:39 UTC
ODL does not use WebSocket STOMP in any packaged components for any RHOSP release. Marked not affected.

Comment 9 claprun@redhat.com 2018-06-01 08:43:35 UTC
Shouldn't this be marked as high as that's how it's marked by Pivotal on its CVE?

Comment 10 errata-xmlrpc 2018-06-07 08:26:05 UTC
This issue has been addressed in the following products:

  Red Hat Openshift Application Runtimes (text-only advisories)

Via RHSA-2018:1809 https://access.redhat.com/errata/RHSA-2018:1809

Comment 11 errata-xmlrpc 2018-12-04 16:01:06 UTC
This issue has been addressed in the following products:

  Red Hat Fuse 7.2

Via RHSA-2018:3768 https://access.redhat.com/errata/RHSA-2018:3768

Comment 13 Joshua Padman 2019-05-15 22:58:15 UTC
This vulnerability is out of security support scope for the following products:
 * Red Hat JBoss Data Virtualization & Services 6
 * Red Hat JBoss SOA Platform 5

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.