Skip to main content
Public proof of conceptFix available

CVE-2018-1271

A public proof of concept exists; no exploitation attested.

  • Published2018-04-06
  • WeaknessCWE-22

Am I 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
  1. 2018-04-0613:29CVE publishedNVD
  2. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
Oracle retail integration bus
BranchAffectedFixed in
14.0= 14.0.1no fix published
14.0= 14.0.2no fix published
14.0= 14.0.3no fix published
14.0= 14.0.4no fix published
14.1= 14.1.1no fix published
14.1= 14.1.2no fix published
14.1= 14.1.3no fix published
15.0= 15.0.0.1no fix published
15.0= 15.0.1no fix published
15.0= 15.0.2no fix published
16.0= 16.0no fix published
16.0= 16.0.1no fix published
Oracle insurance rules palette
BranchAffectedFixed in
10.0= 10.0no fix published
10.1= 10.1no fix published
10.2= 10.2no fix published
11.0= 11.0no fix published
11.1= 11.1no fix published
Oracle application testing suite
BranchAffectedFixed in
12.5= 12.5.0.3no fix published
13.1= 13.1.0.1no fix published
13.2= 13.2.0.1no fix published
13.3= 13.3.0.1no fix published

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

  • CVE-2018-1271 Red Hat Product Security3 products fixed · 8 known affected

    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

  • RHSA-2018:2939 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat FIS 2.0 on Fuse 6.3.0 R8 security and bug fix update

  • RHSA-2018:2669 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Fuse 7.1 security update

  • RHSA-2018:1320 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat OpenShift Application Runtimes security and bug fix update

Full record on NVD

Fix

  1. 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
  2. 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…
  3. 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
  4. No fix available, says the vendor Red Hat Product Security CVE-2018-1271 · 1 productAffected
  5. No fix planned, says the vendor Red Hat Product Security CVE-2018-1271 · 6 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2018-1271 · 1 productWill not fix

Advisories and patches

Detection

read 2026-11-22 11:04 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2018-1271 actively exploited?

Active exploitation of CVE-2018-1271 has not been confirmed. Its EPSS score was 30.3% on 2026-11-21, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2018-1271?

CVE-2018-1271 has a CVSS v3 base score of 5.9 (Medium severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

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

Sources for this record