Skip to content

The defaults settings for the CORS filter provided in Apache Tomcat are insecure and enable 'supportsCredentials' for all origins

Critical severity GitHub Reviewed Published Oct 17, 2018 to the GitHub Advisory Database • Updated Feb 23, 2024

Package

maven org.apache.tomcat.embed:tomcat-embed-core (Maven)

Affected versions

>= 8.5.0, < 8.5.32
>= 7.0.41, < 7.0.88
>= 9.0.0.M1, <= 9.0.8
>= 8.0.0RC1, < 8.0.53

Patched versions

8.5.32
7.0.88
9.0.9
8.0.53

Description

The defaults settings for the CORS filter provided in Apache Tomcat 9.0.0.M1 to 9.0.8, 8.5.0 to 8.5.31, 8.0.0.RC1 to 8.0.52, 7.0.41 to 7.0.88 are insecure and enable 'supportsCredentials' for all origins. It is expected that users of the CORS filter will have configured it appropriately for their environment rather than using it in the default configuration. Therefore, it is expected that most users will not be impacted by this issue.

References

Published by the National Vulnerability Database May 16, 2018
Published to the GitHub Advisory Database Oct 17, 2018
Reviewed Jun 16, 2020
Last updated Feb 23, 2024

Severity

Critical
9.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2018-8014

GHSA ID

GHSA-r4x2-3cq5-hqvp

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.