VRT 391,810 CVEs tracked · 15,472 in RASP scope · data as of 45 minutes ago

CVE-2021-39185

9.1 Critical No exploit published

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.

CWE-346

Exploitation Status

No public exploit

Nothing published shows this CVE being exploited, which is not the same as ruling it out. nothing published in 5 years.

CVSS E:U

  • CISA KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.59% chance in 30 days

Waratek Defense Posture

No exploit published

In RASP's scope with an upstream fix path, but nobody has published a working exploit. That is a statement about what has been published, not a finding that the defect is unreachable or unimportant.

  • Protection none
  • Action unverified patch rule
  • Review automated upstream-data
  • Record active
Decided by no-exploit-published : A published working exploit for this candidate, not only a proof of concept, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV, CISA Vulnrichment records no active exploitation, and no reviewed exploit catalogue carries an entry for it. Nobody has published something a stranger can run, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

9.1 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 2 metrics

VRT selects the newest version's highest entry and publishes it as cvssScore, newest rather than largest because scores are not comparable across versions, and highest rather than first because the first entry is frequently a CNA placeholder scoring 0.0 over NVD's own analysis.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.1 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N security-advisories@github.com Secondary published
CVSS 2.0 6.4 no band published AV:N/AC:L/Au:N/C:P/I:P/A:N NVD Primary

Affected Software & Releases

☕ Maven Library Packages

Artifact coordinates and fix boundaries from OSV.dev
Package CoordinateIntroducedFixedLast affected
org.http4s:http4s-server_2.13.0-M5 0 none unbounded
org.http4s:http4s-server_3 0.22.0 0.22.3 unbounded
org.http4s:http4s-server_3 0.23.0 0.23.2 unbounded
org.http4s:http4s-server_2.10 0 none unbounded
org.http4s:http4s-server_2.11 0 none unbounded
org.http4s:http4s-server_2.12 0 0.21.27 unbounded
org.http4s:http4s-server_2.12 0.22.0 0.22.3 unbounded
org.http4s:http4s-server_2.12 0.23.0 0.23.2 unbounded
org.http4s:http4s-server_2.13 0 0.21.27 unbounded
org.http4s:http4s-server_2.13 0.22.0 0.22.3 unbounded
org.http4s:http4s-server_2.13 0.23.0 0.23.2 unbounded

🖥️ Product CPEs & Version Ranges

7 product(s) over 39 version claims (uncapped)
SourceVendorProductSchemeAffected Versions
osv org.http4s http4s-server_2.10 generic any version
osv org.http4s http4s-server_2.11 generic any version
osv org.http4s http4s-server_2.12 generic < 0.21.27 · ≥ 0.22.0 and < 0.22.3 · ≥ 0.23.0 and < 0.23.2
osv org.http4s http4s-server_2.13 generic < 0.21.27 · ≥ 0.22.0 and < 0.22.3 · ≥ 0.23.0 and < 0.23.2
osv org.http4s http4s-server_2.13.0-M5 generic any version
osv org.http4s http4s-server_3 generic ≥ 0.22.0 and < 0.22.3 · ≥ 0.23.0 and < 0.23.2
nvd typelevel http4s generic ≤ 0.21.26 · ≥ 0.22.0 and ≤ 0.22.2 · 0.23.0 · 0.23.1 · 1.0.0:milestone1 · 1.0.0:milestone10 · 1.0.0:milestone11 · 1.0.0:milestone12 · 1.0.0:milestone13 · 1.0.0:milestone14 · 1.0.0:milestone15 · 1.0.0:milestone16 · 1.0.0:milestone17 · 1.0.0:milestone18 · 1.0.0:milestone19 · 1.0.0:milestone2 · 1.0.0:milestone20 · 1.0.0:milestone21 · 1.0.0:milestone22 · 1.0.0:milestone23 · 1.0.0:milestone24 · 1.0.0:milestone3 · 1.0.0:milestone4 · 1.0.0:milestone5 · 1.0.0:milestone6 · 1.0.0:milestone7 · 1.0.0:milestone8 · 1.0.0:milestone9

References

URLTags
https://github.com/http4s/http4s/security/advisories/GHSA-52cf-226f-rhr6 WEB
https://github.com/http4s/http4s PACKAGE
https://github.com/http4s/http4s/releases/tag/v0.23.2 WEB

Timeline

Published 2021-09-01 Last modified 2026-06-17
Published2021-09-01By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.