CVE-2018-1271
A public proof of concept exists; no exploitation attested.
- Published2018-04-06
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-04-0613:29CVE publishedNVD
- 2026-10-2319:23EPSS crossed 10 %FIRST EPSS
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.0 | = 14.0.1 | no fix published | NVD |
| 14.0 | = 14.0.2 | no fix published | NVD |
| 14.0 | = 14.0.3 | no fix published | NVD |
| 14.0 | = 14.0.4 | no fix published | NVD |
| 14.1 | = 14.1.1 | no fix published | NVD |
| 14.1 | = 14.1.2 | no fix published | NVD |
| 14.1 | = 14.1.3 | no fix published | NVD |
| 15.0 | = 15.0.0.1 | no fix published | NVD |
| 15.0 | = 15.0.1 | no fix published | NVD |
| 15.0 | = 15.0.2 | no fix published | NVD |
| 16.0 | = 16.0 | no fix published | NVD |
| 16.0 | = 16.0.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
| 10.1 | = 10.1 | no fix published | NVD |
| 10.2 | = 10.2 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
| 11.1 | = 11.1 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.5 | = 12.5.0.3 | no fix published | NVD |
| 13.1 | = 13.1.0.1 | no fix published | NVD |
| 13.2 | = 13.2.0.1 | no fix published | NVD |
| 13.3 | = 13.3.0.1 | no fix published | NVD |
25 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- org.springframework:spring-contextTuxCare:Mavenfrom 4.3.5.RELEASE · fixed in 4.3.5.RELEASE-tuxcare.1and 9 other packages
- org.springframework:spring-coreTuxCare:Mavenfrom 4.2.9.RELEASE · fixed in 4.2.9.RELEASE-tuxcare.1and 3 other packages
- org.springframework:spring-jmsTuxCare:Mavenfrom 5.0.0.RELEASE · fixed in 5.0.0.RELEASE-tuxcare.1and 9 other packages
- org.springframework:spring-oxmTuxCare:Mavenfrom 3.1.1.RELEASE · fixed in 3.1.1.RELEASE-tuxcare.1and 6 other packages
- org.springframework:spring-webTuxCare:Mavenfrom 4.0.0.RELEASE · fixed in 4.0.0.RELEASE-tuxcare.1and 5 other packages
- org.springframework:spring-webTuxCare:Mavenfrom 4.1.7.RELEASE · fixed in 4.1.7.RELEASE-tuxcare.2and 2 other packages
- org.springframework:spring-webTuxCare:Mavenfrom 4.1.9.RELEASE · fixed in 4.1.9.RELEASE-tuxcare.1and 6 other packages
- org.springframework:spring-webTuxCare:Mavenfrom 3.0.5.RELEASE · fixed in 3.0.5.RELEASE-tuxcare.8and 5 other packages
2 more package ranges on OSV.dev
Vendor advisories
spring-framework: Directory traversal vulnerability with static resources on Windows filesystems
spring as a component of Red Hat JBoss A-MQ 6 · spring as a component of Red Hat JBoss BRMS 5 · spring as a component of Red Hat JBoss Data Virtualization 6 · +5 more
Red Hat Security Advisory: Red Hat FIS 2.0 on Fuse 6.3.0 R8 security and bug fix update
Red Hat Security Advisory: Fuse 7.1 security update
Red Hat Security Advisory: Red Hat OpenShift Application Runtimes security and bug fix update
Fix
- Vendor fix Red Hat Product Security RHSA-2018:2939 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Updating instructions and release notes may be found at: https://access.redhat.com/articles/3060411
- Vendor fix Red Hat Product Security RHSA-2018:2669 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. Installation instructions are located in the download section of the customer portal. The References section of this erratum contains a down…
- Vendor fix Red Hat Product Security RHSA-2018:1320 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2018-1271 · 1 productAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2018-1271 · 6 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2018-1271 · 1 productWill not fix
Advisories and patches
- www.oracle.comPatch
- www.oracle.comPatch
- pivotal.ioVendor Advisory
- www.oracle.comPatch
- www.oracle.comPatch
Detection
read 2026-11-22 11:04 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-20
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.15.9read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- NVDweakness (CWE)CWE-22read 2026-10-23
- FIRST EPSSEPSS score30.3 %read 2026-11-22
- ProjectDiscoverydetectionread 2026-11-22
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2020-06-16
Identifiers
- EUVD-2018-0599same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-g8hw-794c-4j9gsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Published
- 2018-04-06
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-g8hw-794c-4j9g
Frequently asked questions
What is CVE-2018-1271?
Is CVE-2018-1271 actively exploited?
What is the CVSS score for CVE-2018-1271?
Running spring-framework? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-g8hw-794c-4j9g
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0