---
title: "CVE-2018-1271\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2018-1271?format=md
keywords: index, follow
---

# CVE-2018-1271

Publication date 6 April 2018

Last updated 25 August 2025

---

Ubuntu priority

**Negligible**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.9 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2018-1271?format=md#impact-score)

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libspring-java | 19.04 disco | Not affected |
| 18.10 cosmic | Not affected |
| 18.04 LTS bionic | Not affected |
| 17.10 artful | Ignored end of life |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.9 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | None |
  | Availability impact | None |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.9 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1271)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-1271)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2018-1271)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2018-1271)

### Other references

* <https://pivotal.io/security/cve-2018-1271>
* <https://www.cve.org/CVERecord?id=CVE-2018-1271>
