CVE-2018-1271
Path Traversal in org.springframework:spring-core
5.9
MEDIUM
CVSS 3.1
EPSS 35.7%
Description
Spring Framework, versions 5.0 prior to 5.0.5 and versions 4.3 prior to 4.3.15 and older unsupported versions, allow applications to configure Spring MVC to serve static resources (e.g. CSS, JS, images). When static resources are served from a file system on Windows (as opposed to the classpath, or the ServletContext), a malicious user can send a request using a specially crafted URL that can lead a directory traversal attack.
How to fix CVE-2018-1271
To remediate CVE-2018-1271, upgrade the affected package to a fixed version below.
- —upgrade to 5.0.5 or later
Is CVE-2018-1271 being exploited?
Moderate — EPSS is 35.7%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- >= 5.0.0, < 5.0.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |