CSRF in Softwaremill Akka-Http-Session
CVE-2020-28452
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
EPSS: 0.005 (41.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
Affected products
- Softwaremill Akka-http-session
- N/a Com.softwaremill.akka-http-session:core_2.11 — versions 0
- N/a Com.softwaremill.akka-http-session:core_2.12 — versions 0, unspecified
- N/a Com.softwaremill.akka-http-session:core_2.13 — versions 0, unspecified
Weakness classification (CWE)
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-28452?
- CVE-2020-28452 is a medium-severity vulnerability in Softwaremill Akka-Http-Session, classified under Cross-Site Request Forgery (CSRF). CVSS score: 6.3/10. Published 2021-01-20.
- How severe is CVE-2020-28452?
- Medium severity. CVSS v3 base score is 6.3 out of 10.