GHSA-9q69-g5gc-9fgf

Suggest an improvement
Source
https://github.com/advisories/GHSA-9q69-g5gc-9fgf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-9q69-g5gc-9fgf/GHSA-9q69-g5gc-9fgf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9q69-g5gc-9fgf
Aliases
Published
2021-04-22T16:16:18Z
Modified
2023-11-08T04:03:33.135481Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2021-01-20T13:15:00Z",
    "github_reviewed_at": "2021-04-20T17:07:06Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-352"
    ]
}
References

Affected packages

Maven / io.vertx:vertx-web

Package

Name
io.vertx:vertx-web
View open source insights on deps.dev
Purl
pkg:maven/io.vertx/vertx-web

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-milestone1
Fixed
4.0.0-milestone5

Affected versions

4.*

4.0.0-milestone1
4.0.0-milestone2
4.0.0-milestone3
4.0.0-milestone4

Maven / io.vertx:vertx-web

Package

Name
io.vertx:vertx-web
View open source insights on deps.dev
Purl
pkg:maven/io.vertx/vertx-web

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-milestone2
Fixed
4.0.0-milestone5

Affected versions

4.*

4.0.0-milestone2
4.0.0-milestone3
4.0.0-milestone4

Maven / io.vertx:vertx-web

Package

Name
io.vertx:vertx-web
View open source insights on deps.dev
Purl
pkg:maven/io.vertx/vertx-web

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-milestone3
Fixed
4.0.0-milestone5

Affected versions

4.*

4.0.0-milestone3
4.0.0-milestone4

Maven / io.vertx:vertx-web

Package

Name
io.vertx:vertx-web
View open source insights on deps.dev
Purl
pkg:maven/io.vertx/vertx-web

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0-milestone4
Fixed
4.0.0-milestone5

Affected versions

4.*

4.0.0-milestone4