ADVISORIES

GitHub Advisory Database

GHSA-g8hw-794c-4j9g

Path Traversal in org.springframework:spring-core

Moderate CVE-2018-1271

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-core
From 5.0.0 before 5.0.5 (fixed in 5.0.5)
Mavenorg.springframework:spring-core
All versions before 4.3.15 (fixed in 4.3.15)

References