{"answers":{"affected":"8 open source packages ship an affected version, including io.vertx:vertx-web. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-35217 in the wild and no public exploit code.","fix":"Upgrade io.vertx:vertx-web to 4.0.0-milestone5 or later.","what":"CVE-2020-35217 is a high-severity vulnerability in n/a, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-35217 and fix it if it is affected.\n\nWhat it is: CVE-2020-35217 is a high-severity vulnerability in n/a, published on 20 Jan 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-35217 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone1; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone1; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone2; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone2; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone3; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone3; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone4; fixed in 4.0.0-milestone5\n- io.vertx:vertx-web (Maven): affected from 4.0.0-milestone4; fixed in 4.0.0-milestone5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-35217/ (Markdown: https://insights.sbomify.com/CVE-2020-35217/index.md)","id":"CVE-2020-35217","markdown":"https://insights.sbomify.com/CVE-2020-35217/index.md","name":"CVE-2020-35217","record":{"aliases":["GHSA-9q69-g5gc-9fgf"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Vert.x Web framework","requires_auth":"none","summary":"Attackers can bypass CSRF protection in Vert.x Web by exploiting flawed token verification logic, allowing unauthorized state-changing requests.","user_interaction":"required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"vert.x-web","vendor":"eclipse"}],"cvss":{"score":8.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Cross-Site Request Forgery in Vert.x-Web framework","id":"CVE-2020-35217","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"csrf","year":"2020"},"n_packages":8,"n_references":1,"next":{"headline":"Auth bypass in n/a","id":"CVE-2020-35219"},"packages":[{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone1"],"last_affected":[],"package":"io.vertx:vertx-web","purl":null,"source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone1"],"last_affected":[],"package":"io.vertx:vertx-web","purl":"pkg:maven/io.vertx/vertx-web","source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone2"],"last_affected":[],"package":"io.vertx:vertx-web","purl":null,"source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone2"],"last_affected":[],"package":"io.vertx:vertx-web","purl":"pkg:maven/io.vertx/vertx-web","source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone3"],"last_affected":[],"package":"io.vertx:vertx-web","purl":null,"source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone3"],"last_affected":[],"package":"io.vertx:vertx-web","purl":"pkg:maven/io.vertx/vertx-web","source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone4"],"last_affected":[],"package":"io.vertx:vertx-web","purl":null,"source":"GHSA-9q69-g5gc-9fgf"},{"ecosystem":"Maven","fixed":["4.0.0-milestone5"],"introduced":["4.0.0-milestone4"],"last_affected":[],"package":"io.vertx:vertx-web","purl":"pkg:maven/io.vertx/vertx-web","source":"GHSA-9q69-g5gc-9fgf"}],"prev":{"headline":"An issue in Atomix v3.1.5 allows attackers to cause a denial of service (DoS) via false member down event messages.","id":"CVE-2020-35216"},"products":["n/a"],"published":"2021-01-20","related":[{"cvss_score":6.9,"headline":"Eclipse Vert.x Web static handler file access denial","id":"CVE-2026-1002","kev_date_added":null,"published":"2026-01-15"},{"cvss_score":4.8,"headline":"Disclosure of classpath resources on Windows when mounted on a wildcard route in vertx-web","id":"CVE-2023-24815","kev_date_added":null,"published":"2023-02-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can bypass CSRF protection in Vert.x Web by exploiting flawed token verification logic, allowing unauthorized state-changing requests.","url":"https://insights.sbomify.com/CVE-2020-35217/"}