CVEfocus › CVE database › CVE-2018-1271

CVE-2018-1271

CVSS 5.9 MediumEPSS 30.3% (higher than 98% of CVEs)Published 2018-04-06Updated 2024-09-16Assigner: dell

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.

CWE-22

What to do

Likely to be exploited: EPSS gives a 30% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
21Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04libspring-javaNot affected
vulnerable_code_not_present
Red Hat Enterprise Linux 8springframeworkNot affected
Red Hat Enterprise Linux 8springframework-aopNot affected
Red Hat Enterprise Linux 8springframework-beansNot affected
Red Hat Enterprise Linux 8springframework-contextNot affected
Red Hat Enterprise Linux 8springframework-context-supportNot affected
Red Hat Enterprise Linux 8springframework-expressionNot affected
Red Hat Enterprise Linux 8springframework-instrumentNot affected
Red Hat Enterprise Linux 8springframework-javadocNot affected
Red Hat Enterprise Linux 8springframework-jdbcNot affected
Red Hat Enterprise Linux 8springframework-jmsNot affected
Red Hat Enterprise Linux 8springframework-ormNot affected
Red Hat Enterprise Linux 8springframework-orm-hibernate4Not affected
Red Hat Enterprise Linux 8springframework-oxmNot affected
Red Hat Enterprise Linux 8springframework-strutsNot affected
Red Hat Enterprise Linux 8springframework-testNot affected
Red Hat Enterprise Linux 8springframework-test-mvcNot affected
Red Hat Enterprise Linux 8springframework-txNot affected
Red Hat Enterprise Linux 8springframework-webNot affected
Red Hat Enterprise Linux 8springframework-webmvcNot affected
Red Hat Enterprise Linux 8springframework-webmvc-portletNot affected
Maven libraryorg.springframework:spring-coreFixed4.3.15GHSA-g8hw-794c-4j9g

What the vendor says

As published in the CVE record by dell, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.