CVE-2018-1257

NameCVE-2018-1257
DescriptionSpring 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libspring-java (PTS)jessie, jessie (lts)3.0.6.RELEASE-17+deb8u2fixed
stretch (security), stretch (lts), stretch4.3.5-1+deb9u1vulnerable
buster4.3.22-4fixed
bullseye4.3.30-1fixed
sid, trixie, bookworm4.3.30-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libspring-javasourcewheezy(unfixed)end-of-life
libspring-javasourcejessie(not affected)
libspring-javasource(unstable)4.3.19-1

Notes

[stretch] - libspring-java <ignored> (Minor issue, no known patch)
[jessie] - libspring-java <not-affected> (Vulnerable code introduced later)
https://pivotal.io/security/cve-2018-1257
websocket introduced in v4 https://github.com/spring-projects/spring-framework/commit/4e67f809fbc1957e40fc787686b63254eaa8d7fa
https://github.com/spring-projects/spring-framework/issues/26821 (patch unidentifiable)

Search for package or bug name: Reporting problems