{"containers":{"cna":{"affected":[{"product":"com.softwaremill.akka-http-session:core_2.12","vendor":"n/a","versions":[{"lessThan":"unspecified","status":"affected","version":"0","versionType":"custom"},{"lessThan":"0.6.1","status":"affected","version":"unspecified","versionType":"custom"}]},{"product":"com.softwaremill.akka-http-session:core_2.11","vendor":"n/a","versions":[{"lessThan":"unspecified","status":"affected","version":"0","versionType":"custom"}]},{"product":"com.softwaremill.akka-http-session:core_2.13","vendor":"n/a","versions":[{"lessThan":"unspecified","status":"affected","version":"0","versionType":"custom"},{"lessThan":"0.6.1","status":"affected","version":"unspecified","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Willem Vermeer"}],"datePublic":"2021-01-20T00:00:00.000Z","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."}],"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":{"dateUpdated":"2021-01-20T17:46:54.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","shortName":"snyk"},"references":[{"tags":["x_refsource_MISC"],"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"}],"title":"Cross-site Request Forgery (CSRF)","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":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T16:40:58.647Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"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"}]}]},"cveMetadata":{"assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","assignerShortName":"snyk","cveId":"CVE-2020-28452","datePublished":"2021-01-20T17:46:54.969Z","dateReserved":"2020-11-12T00:00:00.000Z","dateUpdated":"2024-09-16T23:26:11.130Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}