{"id":"CVE-2020-28452","state":"PUBLISHED","title":"Cross-site Request Forgery (CSRF)","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.","publishedAt":"2021-01-20T17:46:54.969Z","updatedAt":"2024-09-16T23:26:11.130Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"snyk"},"assigner":"snyk","products":["n/a com.softwaremill.akka-http-session:core_2.12","n/a com.softwaremill.akka-http-session:core_2.11","n/a com.softwaremill.akka-http-session:core_2.13"],"affected":[{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.12","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"0.6.1","versionType":"custom"}]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.11","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.13","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"0.6.1","versionType":"custom"}]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:13.795Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/28xxx/CVE-2020-28452.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-28452","state":"PUBLISHED","datePublished":"2021-01-20T17:46:54.969Z","dateUpdated":"2024-09-16T23:26:11.130Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2020-11-12T00:00:00.000Z"},"containers":{"cna":{"title":"Cross-site Request Forgery (CSRF)","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.12","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"0.6.1","versionType":"custom"}]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.11","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]},{"vendor":"n/a","product":"com.softwaremill.akka-http-session:core_2.13","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"0.6.1","versionType":"custom"}]}],"references":[{"url":"https://github.com/softwaremill/akka-http-session/issues/77","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","tags":["x_refsource_MISC"]},{"url":"https://github.com/softwaremill/akka-http-session/pull/79","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Cross-site Request Forgery (CSRF)","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-01-20T17:46:54.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Willem Vermeer"}],"datePublic":"2021-01-20T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-01-20T17:02:20.074555Z","ID":"CVE-2020-28452","STATE":"PUBLIC","TITLE":"Cross-site Request Forgery (CSRF)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.12","version":{"version_data":[{"version_affected":">=","version_value":"0"},{"version_affected":"<","version_value":"0.6.1"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.11","version":{"version_data":[{"version_affected":">=","version_value":"0"}]}}]},"vendor_name":"n/a"},{"product":{"product_data":[{"product_name":"com.softwaremill.akka-http-session:core_2.13","version":{"version_data":[{"version_affected":">=","version_value":"0"},{"version_affected":"<","version_value":"0.6.1"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Willem Vermeer"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Cross-site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://github.com/softwaremill/akka-http-session/issues/77","refsource":"MISC","url":"https://github.com/softwaremill/akka-http-session/issues/77"},{"name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674"},{"name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675"},{"name":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933"},{"name":"https://github.com/softwaremill/akka-http-session/pull/79","refsource":"MISC","url":"https://github.com/softwaremill/akka-http-session/pull/79"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/softwaremill/akka-http-session/issues/77","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046674","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1046675","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/softwaremill/akka-http-session/pull/79","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T16:40:58.647Z"}}]}}}