Skip to content
Fencer Vulns
medium 5.9

CVE-2018-1271 json

Path Traversal in org.springframework:spring-core

published 2018-04-06 8 y ago modified 2026-06-17 4 mo ago also GHSA-g8hw-794c-4j9g , EUVD-2018-0599

cvss
5.9
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
30.3%
EPSS 30.3% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • maven org.springframework:spring-core 4.3.15, 5.0.5
  • vmware spring_framework 4.3.15, 5.0.5
  • oracle communications_converged_application_server 7.0.0.1
  • oracle communications_diameter_signaling_router 8.3
  • oracle communications_performance_intelligence_center 10.2.1
  • oracle communications_services_gatekeeper 6.1.0.4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-1271 updated cvss 6.5

spring-framework: Directory traversal vulnerability with static resources on Windows filesystems

  • Red Hat JBoss A-MQ 6 spring Red Hat JBoss BRMS 5 spring Red Hat JBoss Data Virtualization 6 spring Red Hat JBoss Enterprise Application Platform 5 spring
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Fuse 6 spring
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse Integration Service 2 spring
    affected: no fix available
  • Red Hat JBoss Fuse Service Works 6 spring Red Hat JBoss SOA Platform 5 spring
    affected: no fix planned “Out of support scope”
  • Red Hat Fuse 7
    fixed: vendor fix RHSA-2018:2669
  • Red Hat Fuse Intergration Services 2.0 based on Fuse 6.3 R8
    fixed: vendor fix RHSA-2018:2939
  • Red Hat Openshift Application Runtimes
    fixed: vendor fix RHSA-2018:1320
  • Red Hat Enterprise Linux 8 springframework, springframework-tx, springframework-aop, springframework-jms, springframework-orm, springframework-oxm, +14 more Red Hat Mobile Application Platform 4 spring Red Hat OpenStack Platform 9 (Mitaka) opendaylight Red Hat OpenStack Platform 10 (Newton) opendaylight Red Hat OpenStack Platform 11 (Ocata) opendaylight Red Hat OpenStack Platform 12 (Pike) opendaylight
    +2 more products
    Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat Storage 3 rhevm-dependencies
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

30.34% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Spring MVC Framework - Local File Inclusion nuclei detection template

CVSS scores

assigned by version score vector
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
GitHub 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.springframework:spring-core
>=5.0.0, <5.0.5
<4.3.15
5.0.5
4.3.15

Affected products

  • Spring by Pivotal Spring Framework

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.