Skip to content
OpenAdvisories
Medium · 6.3 CVE-2020-28452 EUVD-2022-0445GHSA-4jf5-jggp-g56j

Cross-site Request Forgery (CSRF)

Published Jan 20, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— com.softwaremill.akka-http-session:core_2.12 < unspecified, unspecified – < 0.6.1 unspecified
— com.softwaremill.akka-http-session:core_2.11 < unspecified unspecified
— com.softwaremill.akka-http-session:core_2.13 < unspecified, unspecified – < 0.6.1 unspecified

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.softwaremill.akka-http-session:core_2.12 >= 0.3.0, < 0.6.1 0.6.1 GHSA-4jf5-jggp-g56j

References