Vulnerability · Published Jan 20, 2021 · Assigned by mitre
CVE-2020-35217
High 8.8
In plain English
A high-severity security flaw in the io.vertx:vertx-web package (Maven). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Vert.x-Web framework v4.0 milestone 1-4 does not perform a correct CSRF verification. Instead of comparing the CSRF token in the request with the CSRF token in the cookie, it compares the CSRF token in the cookie against a CSRF token that is stored in the session. An attacker does not even need to provide a CSRF token in the request because the framework does not consider it. The cookies are automatically sent by the browser and the verification will always succeed, leading to a successful CSRF attack.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | io.vertx:vertx-web | 4.0.0-milestone5 | GHSA-9q69-g5gc-9fgf |
| Maven | io.vertx:vertx-web | 4.0.0-milestone5 | GHSA-9q69-g5gc-9fgf |
| Maven | io.vertx:vertx-web | 4.0.0-milestone5 | GHSA-9q69-g5gc-9fgf |
| Maven | io.vertx:vertx-web | 4.0.0-milestone5 | GHSA-9q69-g5gc-9fgf |
Affected products (as reported)
References
- https://github.com/vert-x3/vertx-web/pull/1613 x_refsource_MISC