{"id":"GHSA-9q69-g5gc-9fgf","summary":"Cross-Site Request Forgery in Vert.x-Web framework","details":"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.","aliases":["CVE-2020-35217"],"modified":"2023-11-08T04:03:33.135481Z","published":"2021-04-22T16:16:18Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-04-20T17:07:06Z","nvd_published_at":"2021-01-20T13:15:00Z","cwe_ids":["CWE-352"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35217"},{"type":"WEB","url":"https://github.com/vert-x3/vertx-web/pull/1613"}],"affected":[{"package":{"name":"io.vertx:vertx-web","ecosystem":"Maven","purl":"pkg:maven/io.vertx/vertx-web"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-milestone1"},{"fixed":"4.0.0-milestone5"}]}],"versions":["4.0.0-milestone1","4.0.0-milestone2","4.0.0-milestone3","4.0.0-milestone4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9q69-g5gc-9fgf/GHSA-9q69-g5gc-9fgf.json"}},{"package":{"name":"io.vertx:vertx-web","ecosystem":"Maven","purl":"pkg:maven/io.vertx/vertx-web"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-milestone2"},{"fixed":"4.0.0-milestone5"}]}],"versions":["4.0.0-milestone2","4.0.0-milestone3","4.0.0-milestone4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9q69-g5gc-9fgf/GHSA-9q69-g5gc-9fgf.json"}},{"package":{"name":"io.vertx:vertx-web","ecosystem":"Maven","purl":"pkg:maven/io.vertx/vertx-web"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-milestone3"},{"fixed":"4.0.0-milestone5"}]}],"versions":["4.0.0-milestone3","4.0.0-milestone4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9q69-g5gc-9fgf/GHSA-9q69-g5gc-9fgf.json"}},{"package":{"name":"io.vertx:vertx-web","ecosystem":"Maven","purl":"pkg:maven/io.vertx/vertx-web"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-milestone4"},{"fixed":"4.0.0-milestone5"}]}],"versions":["4.0.0-milestone4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9q69-g5gc-9fgf/GHSA-9q69-g5gc-9fgf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}