HIGH 8.8

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)

ArtifactAffected versionsFixed 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

1affected artifacts
4affected versions
27dependent artifacts (est.)
100dependent versions

14% of the dependent artifacts (4) still pull an affected version in their latest release.

DepthDependent versions
Direct
85
2 hops
13
3 hops
2

Most used dependents

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

Advisorynvd.nist.gov
Webgithub.com