CVEfocus › CVE database › CVE-2018-1199

CVE-2018-1199

CVSS 5.3 MediumEPSS 2.8% (higher than 87% of CVEs)Published 2018-03-16Updated 2024-09-16Assigner: dell

Spring Security (Spring Security 4.1.x before 4.1.5, 4.2.x before 4.2.4, and 5.0.x before 5.0.1; and Spring Framework 4.3.x before 4.3.14 and 5.0.x before 5.0.3) does not consider URL path parameters when processing security constraints. By adding a URL path parameter with special encodings, an attacker may be able to bypass a security constraint. The root cause of this issue is a lack of clarity regarding the handling of path parameters in the Servlet Specification. Some Servlet containers include path parameters in the value returned for getPathInfo() and some do not. Spring Security uses the value returned by getPathInfo() as part of the process of mapping requests to security constraints. In this particular attack, different character encodings used in path parameters allows secured Spring MVC static resource URLs to be bypassed.

What to do

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

Ubuntu has not shipped a fix for every release yet.

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

5Fixed
2Fix pending
22Not 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 26.04libspring-javaNot affected
vulnerable_code_not_present
Ubuntu 25.10libspring-javaNot affected
vulnerable_code_not_present
Ubuntu 16.04libspring-javaFix pendingUBUNTU-CVE-2018-1199
Ubuntu 14.04libspring-javaFix pendingUBUNTU-CVE-2018-1199
Debian 14libspring-javaFixed4.3.14-1DEBIAN-CVE-2018-1199
Debian 13libspring-javaFixed4.3.14-1DEBIAN-CVE-2018-1199
Debian 12libspring-javaFixed4.3.14-1DEBIAN-CVE-2018-1199
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.security:spring-security-coreFixed5.0.1GHSA-v596-fwhq-8x48
Maven libraryorg.springframework:spring-coreFixed4.3.14GHSA-v596-fwhq-8x48

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.