CVE-2021-39185

CVSS V2 Medium 6.4 CVSS V3 Critical 9.1
Description
Http4s is a minimal, idiomatic Scala interface for HTTP services. In http4s versions 0.21.26 and prior, 0.22.0 through 0.22.2, 0.23.0, 0.23.1, and 1.0.0-M1 through 1.0.0-M24, the default CORS configuration is vulnerable to an origin reflection attack. The middleware is also susceptible to a Null Origin Attack. The problem is fixed in 0.21.27, 0.22.3, 0.23.2, and 1.0.0-M25. The original `CORS` implementation and `CORSConfig` are deprecated. See the GitHub GHSA for more information, including code examples and workarounds.
Overview
  • CVE ID
  • CVE-2021-39185
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-09-01T20:15:07
  • Last Modified Date
  • 2021-09-15T00:12:23
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* 1 OR 0.21.26
cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* 1 OR 0.22.0 0.22.2
cpe:2.3:a:typelevel:http4s:0.23.0:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:0.23.1:*:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone1:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone10:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone11:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone12:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone13:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone14:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone15:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone16:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone17:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone18:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone19:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone2:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone20:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone21:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone22:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone23:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone24:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone3:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone4:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone5:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone6:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone7:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone8:*:*:*:*:*:* 1 OR
cpe:2.3:a:typelevel:http4s:1.0.0:milestone9:*:*:*:*:*:* 1 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 6.4
  • Severity
  • MEDIUM
  • Exploitability Score
  • 10
  • Impact Score
  • 4.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • NONE
  • Base Score
  • 9.1
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.2
References
History
Created Old Value New Value Data Type Notes
2022-05-10 16:05:16 Added to TrackCVE
2022-12-05 09:31:27 2021-09-01T20:15Z 2021-09-01T20:15:07 CVE Published Date updated
2022-12-05 09:31:27 2021-09-15T00:12:23 CVE Modified Date updated
2022-12-05 09:31:27 Analyzed Vulnerability Status updated