CVE-2020-35217
Cross-Site Request Forgery in Vert.x-Web framework
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.vertx » vertx-web | >= 4.0.0-milestone1, < 4.0.0-milestone5>= 4.0.0-milestone2, < 4.0.0-milestone5>= 4.0.0-milestone3, < 4.0.0-milestone5>= 4.0.0-milestone4, < 4.0.0-milestone5 | 4.0.0-milestone5 |
Blast radius
14% of the dependent artifacts (4) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 85 |
| 2 hops | 13 |
| 3 hops | 2 |
Most used dependents
- io.vertx » vertx-health-check65 usages
- org.folio.okapi » okapi-common31 usages
- io.vertx » vertx-web-api-contract30 usages
- io.vertx » vertx-shell23 usages
- io.vertx » vertx-sockjs-service-proxy23 usages
- io.vertx » vertx-web-graphql21 usages
- io.vertx » vertx-web-api-service8 usages
- io.vertx » vertx-web-sstore-cookie7 usages
- com.checkmarx » cx-client-common7 usages
- com.tngtech.keycloakmock » mock4 usages
- org.folio.okapi » okapi-core2 usages
- com.mdac » vertx-web-accesslog2 usages
- io.vertx » vertx-stack-depchain1 usages
- com.checkmarx » cx-ws-fs-agent1 usages
- org.folio.okapi » okapi-test-auth-module0 usages
Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2020-35217 | nvd.nist.gov |
| Web | vert-x3/vertx-web pull request #1613 | github.com |
