Skip to content

Authentication Bypass by Alternate Name in Apache Tomcat

Moderate severity GitHub Reviewed Published Aug 13, 2021 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

maven org.apache.tomcat:tomcat (Maven)

Affected versions

>= 10.0.0-M1, < 10.0.5
>= 9.0.0M1, < 9.0.45
>= 8.5.0, < 8.5.65

Patched versions

10.0.5
9.0.45
8.5.65
Published by the National Vulnerability Database Jul 12, 2021
Reviewed Jul 13, 2021
Published to the GitHub Advisory Database Aug 13, 2021
Last updated Feb 3, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

EPSS score

Exploit Prediction Scoring System (EPSS)

This score estimates the probability of this vulnerability being exploited within the next 30 days. Data provided by FIRST.
(40th percentile)

Weaknesses

Improper Encoding or Escaping of Output

The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved. Learn more on MITRE.

Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. Learn more on MITRE.

Authentication Bypass by Alternate Name

The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor. Learn more on MITRE.

CVE ID

CVE-2021-30640

GHSA ID

GHSA-36qh-35cm-5w2w

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.