CVE-2020-28452
Cross-site Request Forgery (CSRF)
- State
- Published
- Severity
- 6.3 Medium
- Published
- Jan 20, 2021
- Updated
- Sep 16, 2024
- Reserved
- Nov 12, 2020
Description
This affects the package com.softwaremill.akka-http-session:core_2.12 from 0 and before 0.6.1; all versions of package com.softwaremill.akka-http-session:core_2.11; the package com.softwaremill.akka-http-session:core_2.13 from 0 and before 0.6.1. CSRF protection can be bypassed by forging a request that contains the same value for both the X-XSRF-TOKEN header and the XSRF-TOKEN cookie value, as the check in randomTokenCsrfProtection only checks that the two values are equal and non-empty.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
com.softwaremill.akka-http-session:core_2.12n/a |
|
com.softwaremill.akka-http-session:core_2.11n/a |
|
com.softwaremill.akka-http-session:core_2.13n/a |
|
References
- https://github.com/softwaremill/akka-http-session/issues/77
- https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674
- https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675
- https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933
- https://github.com/softwaremill/akka-http-session/pull/79
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.