{"id":"GHSA-4jf5-jggp-g56j","summary":"Cross-Site Request Forgery in com.softwaremill.akka-http-session:core_2.12","details":"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.","aliases":["CVE-2020-28452"],"modified":"2025-01-14T08:56:55.379762Z","published":"2022-01-06T20:23:05Z","database_specific":{"github_reviewed_at":"2021-03-22T23:14:16Z","nvd_published_at":"2021-01-20T18:15:00Z","cwe_ids":["CWE-352"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28452"},{"type":"WEB","url":"https://github.com/softwaremill/akka-http-session/issues/77"},{"type":"WEB","url":"https://github.com/softwaremill/akka-http-session/pull/79"},{"type":"WEB","url":"https://github.com/softwaremill/akka-http-session/commit/8725dccfc3143ac52304a51f4bbfda119d5ba3a1"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933"}],"affected":[{"package":{"name":"com.softwaremill.akka-http-session:core_2.12","ecosystem":"Maven","purl":"pkg:maven/com.softwaremill.akka-http-session/core_2.12"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.3.0"},{"fixed":"0.6.1"}]}],"versions":["0.3.0","0.4.0","0.5.0","0.5.1","0.5.10","0.5.11","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.7","0.5.8","0.5.9","0.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-4jf5-jggp-g56j/GHSA-4jf5-jggp-g56j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}