GHSA-52cf-226f-rhr6 · Severity: critical · Ecosystem: maven — Default CORS config allows any origin with credentials
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.
Conclusion & alert: CVE-2021-39185 is rated Moderate Risk (49.9/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.17%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.14% | 0.17% | +0.03% |
| 2 | 2025-11-18 | 0.17% | 0.14% | -0.03% |
| 3 | 2025-09-12 | — | 0.17% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
| 6.4 | 2.0 | MEDIUM |
|
10.0 | 4.9 | [email protected] |
GHSA-52cf-226f-rhr6 · Severity: critical · Ecosystem: maven — Default CORS config allows any origin with credentials
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| typelevel | http4s | <= 0.21.26 | cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* |
| typelevel | http4s | >= 0.22.0, <= 0.22.2 | cpe:2.3:a:typelevel:http4s:*:*:*:*:*:*:*:* |
| typelevel | http4s | 0.23.0 | cpe:2.3:a:typelevel:http4s:0.23.0:*:*:*:*:*:*:* |
| typelevel | http4s | 0.23.1 | cpe:2.3:a:typelevel:http4s:0.23.1:*:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone1:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone10:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone11:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone12:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone13:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone14:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone15:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone16:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone17:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone18:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone19:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone2:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone20:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone21:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone22:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone23:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone24:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone3:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone4:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone5:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone6:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone7:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone8:*:*:*:*:*:* |
| typelevel | http4s | 1.0.0 | cpe:2.3:a:typelevel:http4s:1.0.0:milestone9:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/http4s/http4s/releases/tag/v0.23.2 | Third Party Advisory |
| https://github.com/http4s/http4s/security/advisories/GHSA-52cf-226f-rhr6 | Patch Third Party Advisory |