WaratekVRT Sign in

CVE-2018-1271 Spring Framework

Affected softwareSpring Framework
Severity5.9 Medium CVSS 3.1 2 scores
Fixed in5.0.5, 4.3.15
WeaknessPath traversal (CWE-22)
Published6 Apr 2018
Updated17 Jun 2026

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.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 30% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.
IndexArtifactStarsFirst seen
Nuclei Spring MVC Framework - Local File Inclusion

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Protected by Waratek.

How to mitigate CVE-2018-1271

Upgrade Spring Framework to a release that fixes it: 5.0.5 or 4.3.15. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.9 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework:spring-core 5.0.0 5.0.5 unbounded
org.springframework:spring-core 0 4.3.15 unbounded

Products and versions

29 products, 74 version entries
SourceVendorProductSchemeAffected versions
nvd oracle application testing suite generic 12.5.0.3 · 13.1.0.1 · 13.2.0.1 · 13.3.0.1
nvd oracle big data discovery generic 1.6.0
nvd oracle communications converged application server generic < 7.0.0.1
nvd oracle communications diameter signaling router generic < 8.3
nvd oracle communications performance intelligence center generic < 10.2.1
nvd oracle communications policy management generic 12.5.0
nvd oracle communications services gatekeeper generic < 6.1.0.4.0
nvd oracle enterprise manager ops center generic 12.2.2 · 12.3.3
nvd oracle goldengate for big data generic 12.2.0.1 · 12.3.1.1 · 12.3.2.1
nvd oracle health sciences information manager generic 3.0
nvd oracle healthcare master person index generic 3.0 · 4.0
nvd oracle insurance calculation engine generic 10.1.1 · 10.2 · 10.2.1 · ≥ 11.0.0 and ≤ 11.3.1
nvd oracle insurance rules palette generic 10.0 · 10.1 · 10.2 · 11.0 · 11.1
nvd oracle primavera gateway generic 15.2 · 16.2 · 17.12
nvd oracle rapid planning generic 12.1 · 12.2
nvd oracle retail back office generic 14.0 · 14.1
nvd oracle retail central office generic 14.0 · 14.1
nvd oracle retail customer insights generic 15.0 · 16.0
nvd oracle retail integration bus generic 14.0.1 · 14.0.2 · 14.0.3 · 14.0.4 · 14.1.1 · 14.1.2 · 14.1.3 · 15.0.0.1 · 15.0.1 · 15.0.2 · 16.0 · 16.0.1 · 16.0.2
nvd oracle retail open commerce platform generic 5.3.0 · 6.0.0 · 6.0.1
nvd oracle retail order broker generic 5.1 · 5.2 · 15.0 · 16.0
nvd oracle retail point-of-sale generic 14.0 · 14.1
nvd oracle retail predictive application server generic 14.0 · 14.1 · 15.0 · 16.0
nvd oracle retail returns management generic 14.0 · 14.1
nvd oracle retail xstore point of service generic 7.1
nvd oracle service architecture leveraging tuxedo generic 12.1.3.0.0 · 12.2.2.0.0
nvd oracle tape library acsls generic 8.4
osv org.springframework spring-core generic < 4.3.15 · ≥ 5.0.0 and < 5.0.5
nvd vmware spring framework generic ≥ 4.3.0 and < 4.3.15 · ≥ 5.0.0 and < 5.0.5

References

URLTags
https://github.com/spring-projects/spring-framework/commit/0e28bee0f155b9bf240b4bafc4646e4810cb23f8 WEB
https://github.com/spring-projects/spring-framework/commit/13356a7ee2240f740737c5c83bdccdacc30603ab WEB
https://github.com/spring-projects/spring-framework/commit/695bf2961feffd35b5560ccc982a2189dcca611f WEB
https://github.com/spring-projects/spring-framework/commit/91b803a2310344d925e5d4b1709bbcea90375548 WEB
https://github.com/spring-projects/spring-framework/commit/98ad23bef8e2e04143f8f5b201380543a8d8c0c3 WEB
https://github.com/spring-projects/spring-framework/commit/b9ebdaaf3710db473a2e1fec8641c316483a22aa WEB
https://github.com/spring-projects/spring-framework/commit/f046a066eceefa0799d1bc89bd6e1318f39bdf69 WEB
https://github.com/spring-projects/spring-framework/commit/f59ea610dfcf55cd0b42f6dd76a9b3dab0218aaa WEB
https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html WEB
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html WEB

Timeline

Published2018-04-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.