Cross-site Request Forgery (CSRF) Affecting com.softwaremill.akka-http-session:core_2.13 package, versions [0,0.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMSOFTWAREMILLAKKAHTTPSESSION-1058933
  • published21 Jan 2021
  • disclosed24 Nov 2020
  • creditWillem Vermeer

Introduced: 24 Nov 2020

CVE-2020-28452  (opens in a new tab)
CWE-352  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade com.softwaremill.akka-http-session:core_2.13 to version 0.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). 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.

CVSS Scores

version 3.1