ubuntu-cve-2025-31651
Vulnerability from osv_ubuntu
Published
2025-04-28 20:15
Modified
2026-07-15 17:43
Summary
Details
Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat. For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version [FIXED_VERSION], which fixes the issue.
Severity
9.8 (Critical)
9.8 (Critical)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libservlet3.1-java",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "libtomcat8-java",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8-admin",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8-common",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8-docs",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8-examples",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
},
{
"binary_name": "tomcat8-user",
"binary_version": "8.0.32-1ubuntu1.13+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "tomcat8",
"purl": "pkg:deb/ubuntu/tomcat8@8.0.32-1ubuntu1.13+esm2?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.0.26-1",
"8.0.28-1",
"8.0.30-1",
"8.0.32-1",
"8.0.32-1ubuntu1",
"8.0.32-1ubuntu1.1",
"8.0.32-1ubuntu1.2",
"8.0.32-1ubuntu1.3",
"8.0.32-1ubuntu1.4",
"8.0.32-1ubuntu1.5",
"8.0.32-1ubuntu1.6",
"8.0.32-1ubuntu1.7",
"8.0.32-1ubuntu1.8",
"8.0.32-1ubuntu1.9",
"8.0.32-1ubuntu1.10",
"8.0.32-1ubuntu1.11",
"8.0.32-1ubuntu1.13",
"8.0.32-1ubuntu1.13+esm1",
"8.0.32-1ubuntu1.13+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtomcat8-embed-java",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "libtomcat8-java",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8-admin",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8-common",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8-docs",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8-examples",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
},
{
"binary_name": "tomcat8-user",
"binary_version": "8.5.39-1ubuntu1~18.04.3+esm6"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "tomcat8",
"purl": "pkg:deb/ubuntu/tomcat8@8.5.39-1ubuntu1~18.04.3+esm6?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"8.5.21-1ubuntu1",
"8.5.29-1",
"8.5.30-1",
"8.5.30-1ubuntu1",
"8.5.30-1ubuntu1.2",
"8.5.30-1ubuntu1.3",
"8.5.30-1ubuntu1.4",
"8.5.39-1ubuntu1~18.04.1",
"8.5.39-1ubuntu1~18.04.2",
"8.5.39-1ubuntu1~18.04.3",
"8.5.39-1ubuntu1~18.04.3+esm1",
"8.5.39-1ubuntu1~18.04.3+esm2",
"8.5.39-1ubuntu1~18.04.3+esm3",
"8.5.39-1ubuntu1~18.04.3+esm4",
"8.5.39-1ubuntu1~18.04.3+esm5",
"8.5.39-1ubuntu1~18.04.3+esm6"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtomcat9-embed-java",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "libtomcat9-java",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9-admin",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9-common",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9-docs",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9-examples",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
},
{
"binary_name": "tomcat9-user",
"binary_version": "9.0.16-3ubuntu0.18.04.2+esm8"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "tomcat9",
"purl": "pkg:deb/ubuntu/tomcat9@9.0.16-3ubuntu0.18.04.2+esm8?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.16-3~18.04.1",
"9.0.16-3ubuntu0.18.04.1",
"9.0.16-3ubuntu0.18.04.2",
"9.0.16-3ubuntu0.18.04.2+esm1",
"9.0.16-3ubuntu0.18.04.2+esm2",
"9.0.16-3ubuntu0.18.04.2+esm3",
"9.0.16-3ubuntu0.18.04.2+esm4",
"9.0.16-3ubuntu0.18.04.2+esm5",
"9.0.16-3ubuntu0.18.04.2+esm6",
"9.0.16-3ubuntu0.18.04.2+esm7",
"9.0.16-3ubuntu0.18.04.2+esm8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtomcat9-embed-java",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "libtomcat9-java",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9-admin",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9-common",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9-docs",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9-examples",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
},
{
"binary_name": "tomcat9-user",
"binary_version": "9.0.31-1ubuntu0.9+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "tomcat9",
"purl": "pkg:deb/ubuntu/tomcat9@9.0.31-1ubuntu0.9+esm3?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.24-1",
"9.0.27-1",
"9.0.31-1",
"9.0.31-1ubuntu0.1",
"9.0.31-1ubuntu0.2",
"9.0.31-1ubuntu0.3",
"9.0.31-1ubuntu0.4",
"9.0.31-1ubuntu0.5",
"9.0.31-1ubuntu0.6",
"9.0.31-1ubuntu0.7",
"9.0.31-1ubuntu0.8",
"9.0.31-1ubuntu0.9",
"9.0.31-1ubuntu0.9+esm1",
"9.0.31-1ubuntu0.9+esm2",
"9.0.31-1ubuntu0.9+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libtomcat9-embed-java",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "libtomcat9-java",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9-admin",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9-common",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9-docs",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9-examples",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
},
{
"binary_name": "tomcat9-user",
"binary_version": "9.0.58-1ubuntu0.2+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "tomcat9",
"purl": "pkg:deb/ubuntu/tomcat9@9.0.58-1ubuntu0.2+esm4?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.43-3",
"9.0.54-1",
"9.0.55-1",
"9.0.58-1",
"9.0.58-1ubuntu0.1",
"9.0.58-1ubuntu0.1+esm1",
"9.0.58-1ubuntu0.1+esm2",
"9.0.58-1ubuntu0.1+esm3",
"9.0.58-1ubuntu0.1+esm4",
"9.0.58-1ubuntu0.2",
"9.0.58-1ubuntu0.2+esm1",
"9.0.58-1ubuntu0.2+esm2",
"9.0.58-1ubuntu0.2+esm3",
"9.0.58-1ubuntu0.2+esm4"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libtomcat10-embed-java",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "libtomcat10-java",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10-admin",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10-common",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10-docs",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10-examples",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
},
{
"binary_name": "tomcat10-user",
"binary_version": "10.1.16-1ubuntu0.1~esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "tomcat10",
"purl": "pkg:deb/ubuntu/tomcat10@10.1.16-1ubuntu0.1~esm3?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "10.1.16-1ubuntu0.1~esm3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"10.1.10-1",
"10.1.14-1",
"10.1.15-1",
"10.1.16-1",
"10.1.16-1ubuntu0.1~esm1",
"10.1.16-1ubuntu0.1~esm2"
]
}
],
"aliases": [],
"details": "Improper Neutralization of Escape, Meta, or Control Sequences vulnerability in Apache Tomcat.\u00a0For a subset of unlikely rewrite rule configurations, it was possible for a specially crafted request to bypass some rewrite rules. If those rewrite rules effectively enforced security constraints, those constraints could be bypassed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.5, from 10.1.0-M1 through 10.1.39, from 9.0.0.M1 through 9.0.102. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other, older, EOL versions may also be affected. Users are recommended to upgrade to version [FIXED_VERSION], which fixes the issue.",
"id": "UBUNTU-CVE-2025-31651",
"modified": "2026-07-15T17:43:51Z",
"published": "2025-04-28T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-31651"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-31651"
},
{
"type": "REPORT",
"url": "http://www.openwall.com/lists/oss-security/2025/04/28/3"
},
{
"type": "REPORT",
"url": "https://lists.apache.org/list.html?announce@tomcat.apache.org"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-7705-1"
}
],
"related": [
"USN-7705-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-31651"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…