Origin Validation Error Affecting org.http4s:http4s-server package, versions [,0.21.27)[0.22.0,0.22.3)[0.23.0, 0.23.2)[1.0.0-M2,1.0.0-M25)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.19% (57th 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 IDSNYK-JAVA-ORGHTTP4S-1579729
  • published2 Sept 2021
  • disclosed2 Sept 2021
  • creditUnknown

Introduced: 2 Sep 2021

CVE-2021-39185  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade org.http4s:http4s-server to version 0.21.27, 0.22.3, 0.23.2, 1.0.0-M25 or higher.

Overview

org.http4s:http4s-server is a base library for building http4s servers.

Affected versions of this package are vulnerable to Origin Validation Error. In http4s, the default CORS configuration is vulnerable to an origin reflection attack. The middleware is also susceptible to a Null Origin Attack. The original CORS implementation and CORSConfig are deprecated.

References

CVSS Scores

version 3.1