GHSA-rcpf-vj53-7h2m CVE-2018-1257
Denial of Service in org.springframework:spring-core
- Severity
- 6.5 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 3.02%
- Chance of exploitation in the next 30 days. Higher than 87.44% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- —
- Not classified
- Fix
5.0.6- Upgrade org.springframework:spring-core to this version or later
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.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.springframework:spring-core | >= 5.0.0, < 5.0.6 |
5.0.6 |
| org.springframework:spring-core | < 4.3.17 |
4.3.17 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.springframework:spring-core Maven → 5.0.6
- maven
<dependency><groupId>org.springframework</groupId><artifactId>spring-core</artifactId><version>5.0.6</version></dependency>- gradle
implementation("org.springframework:spring-core:5.0.6")
Severity breakdown
CVSS 3.0 6.5
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
References
Advisories
Packages
Other links
- github.com/spring-projects/spring-framework/commit/246a6db1cad205ca9b6fca00c544…
- github.com/spring-projects/spring-framework/commit/ff2228fdaf131d57b5c8c5918ee8…
- access.redhat.com/errata/RHSA-2018:1809
- access.redhat.com/errata/RHSA-2018:3768
- pivotal.io/security/cve-2018-1257
- oracle.com/security-alerts/cpujan2020.html
- oracle.com/security-alerts/cpujul2020.html
- oracle.com/security-alerts/cpuoct2021.html
- oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- securityfocus.com/bid/104260
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-659m-px2c-25wj Spring Framework Denial of Service via AntPathMatcher | High | Also affects org.springframework:spring-core |
| GHSA-jmp9-x22r-554x Spring Framework annotation detection mechanism may result in improper authorization | High | Also affects org.springframework:spring-core |
| GHSA-r4q3-7g4q-x89m Spring Framework server Web DoS Vulnerability | High | Also affects org.springframework:spring-core |
| GHSA-rfmp-97jj-h8m6 Improper Output Neutralization for Logs in Spring Framework | Medium | Also affects org.springframework:spring-core |
| GHSA-wv88-pf73-x22p Improper Neutralization of Directives in Dynamically Evaluated Code in Spring Framework | High | Also affects org.springframework:spring-core |
| GHSA-f866-m9mv-2xr3 Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data | Medium | Also affects org.springframework:spring-core |
| GHSA-rhcg-rwhx-qj3j Improper Limitation of a Pathname to a Restricted Directory in Spring Framework | Medium | Also affects org.springframework:spring-core |
| GHSA-wjjr-h4wh-w6vv Spring Framework Inefficient Regular Expression Complexity | Medium | Also affects org.springframework:spring-core |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor