VDB
Sign up
CRITICAL9.8

GHSA-r4x2-3cq5-hqvp

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

Quick fix

GHSA-r4x2-3cq5-hqvp — org.apache.tomcat.embed:tomcat-embed-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>9.0.9</version> for org.apache.tomcat.embed:tomcat-embed-core

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 9.0.0.M1Fixed in: 9.0.9
Fix# pom.xml: bump <version>9.0.9</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 8.5.0Fixed in: 8.5.32
Fix# pom.xml: bump <version>8.5.32</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 8.0.0RC1Fixed in: 8.0.53
Fix# pom.xml: bump <version>8.0.53</version> for org.apache.tomcat.embed:tomcat-embed-core
Maven/org.apache.tomcat.embed:tomcat-embed-core
Introduced in: 7.0.41Fixed in: 7.0.88
Fix# pom.xml: bump <version>7.0.88</version> for org.apache.tomcat.embed:tomcat-embed-core

References