GHSA-vvw4-rfwf-p6hx BIT-tomcat-2020-17527 CVE-2020-17527
Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat
- Severity
- 7.5 / 10
- High · CVSS 3.1
- Exploit chance (EPSS)
- 24.62%
- Chance of exploitation in the next 30 days. Higher than 97.89% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Fix
10.0.0-M10- Upgrade org.apache.tomcat:tomcat-coyote to this version or later
Description
While investigating bug 64830 it was discovered that Apache Tomcat 10.0.0-M1 to 10.0.0-M9, 9.0.0-M1 to 9.0.39 and 8.5.0 to 8.5.59 could re-use an HTTP request header value from the previous stream received on an HTTP/2 connection for the request associated with the subsequent stream. While this would most likely lead to an error and the closure of the HTTP/2 connection, it is possible that information could leak between requests.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat-coyote | >= 10.0.0-M1, < 10.0.0-M10 |
10.0.0-M10 |
| org.apache.tomcat:tomcat-coyote | >= 9.0.0-M1, < 9.0.40 |
9.0.40 |
| org.apache.tomcat:tomcat-coyote | >= 8.5.0, < 8.5.60 |
8.5.60 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.apache.tomcat:tomcat-coyote Maven → 10.0.0-M10
- maven
<dependency><groupId>org.apache.tomcat</groupId><artifactId>tomcat-coyote</artifactId><version>10.0.0-M10</version></dependency>- gradle
implementation("org.apache.tomcat:tomcat-coyote:10.0.0-M10")
Severity breakdown
CVSS 3.1 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Weakness
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How to prevent it
- Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References
Advisories
Packages
Other links
- github.com/apache/tomcat/commit/21e3408671aac7e0d7e264e720cac8b1b189eb29
- github.com/apache/tomcat/commit/8d2fe6894d6e258a6d615d7f786acca80e6020cb
- github.com/apache/tomcat/commit/d56293f816d6dc9e2b47107f208fa9e95db58c65
- lists.apache.org/thread.html/rce5ac9a40173651d540babce59f6f3825f12c6d4e886ba00823b11e…
- lists.apache.org/thread.html/rce5ac9a40173651d540babce59f6f3825f12c6d4e886ba00823b11e…
- lists.apache.org/thread.html/rd5babd13d7a350b369b2f647b4dd32ce678af42f9aba5389df1ae6c…
- lists.debian.org/debian-lts-announce/2020/12/msg00022.html
- security.gentoo.org/glsa/202012-23
- security.netapp.com/advisory/ntap-20201210-0003
- tomcat.apache.org/security-10.html
- tomcat.apache.org/security-8.html
- tomcat.apache.org/security-9.html
- debian.org/security/2021/dsa-4835
- oracle.com//security-alerts/cpujul2021.html
- oracle.com/security-alerts/cpuApr2021.html
- oracle.com/security-alerts/cpuapr2022.html
- oracle.com/security-alerts/cpujan2022.html
- lists.apache.org/thread.html/rce5ac9a40173651d540babce59f6f3825f12c6d4e886ba00823b11e…
- lists.apache.org/thread.html/rca833c6d42b7b9ce1563488c0929f29fcc95947d86e5e740258c893…
- lists.apache.org/thread.html/rbba08c4dcef3603e36276d49adda8eedbe458c5104314b4038f697e…
- lists.apache.org/thread.html/rabbe6b3ae6a9795641d7a05c00d2378d5bbbe4240b7e20f09b092cc…
- lists.apache.org/thread.html/raa0e9ad388c1e6fd1e301b5e080f9439f64cb4178119a86a4801cc5…
- lists.apache.org/thread.html/ra9fcdb904dd2e2256ef90b3e4ced279cd464cb0ab63a6c64df5c010…
- lists.apache.org/thread.html/ra9fcdb904dd2e2256ef90b3e4ced279cd464cb0ab63a6c64df5c010…
- lists.apache.org/thread.html/ra35c8d617b17d59f400112cebadec43ad379f98198b4a9726190d7e…
- lists.apache.org/thread.html/r9fd47f1b03e9b41d16a5cf72659b533887267d3398d963c2fff3abf…
- lists.apache.org/thread.html/r8a227ac6a755a6406c1cc47dd48800e973d4cf13fe7fe68ac59c679…
- lists.apache.org/thread.html/r5a285242737ddef4d338236328aaaf3237183e1465a5efafd16b99e…
- lists.apache.org/thread.html/r2d6e05c5ff96f8068a59dfdb3800e9ee8d4e36ce1971783c6e5f9b2…
- lists.apache.org/thread.html/r26a2a66339087fc37db3caf201e446d3e83b5cce314371e235ff178…
- bz.apache.org/bugzilla/show_bug.cgi
- openwall.com/lists/oss-security/2020/12/03/3
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-qppj-fm5r-hxr3 HTTP/2 Stream Cancellation Attack | Medium Known exploited | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-f525-44xv-f2qj Apache Tomcat - HTTP/2 no-authority bypass of strict SNI validation | Critical | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-r29c-68gh-xp6x Apache Tomcat - HTTP/2 request headers not validated | Critical | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-8mc5-53m5-3qj2 Apache Tomcat has an Improper Input Validation vulnerability | Medium | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-69cc-cv78-qc8g Apache Tomcat: Configured cipher preference order not preserved | High | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-563x-q5rq-57qp Apache Tomcat has an HTTP Request/Response Smuggling vulnerability | High | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-mgp5-rv84-w37q Apache Tomcat has an Improper Input Validation vulnerability | High | Also affects org.apache.tomcat:tomcat-coyote |
| GHSA-qq5r-98hh-rxc9 Apache Tomcat - Security constraint bypass with HTTP/0.9 | Low | Also affects org.apache.tomcat:tomcat-coyote |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor