Advisory

UBUNTU-CVE-2018-1304

Also known as: CVE-2018-1304

Summary

The record has no summary.

Details

The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2018-02-28 00:00 UTC
Modified
2026-06-04 12:45 UTC

Affected packages and fixes

tomcat7

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 7.0.52-1ubuntu0.14 (ecosystem)

Fixed versions

7.0.52-1ubuntu0.14

Fix

  • Fixed version 7.0.52-1ubuntu0.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

tomcat8

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 8.0.32-1ubuntu1.6 (ecosystem)

Fixed versions

8.0.32-1ubuntu1.6

Fix

  • Fixed version 8.0.32-1ubuntu1.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences