CVE-2021-39185

Source
https://cve.org/CVERecord?id=CVE-2021-39185
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39185.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-39185
Aliases
Related
Published
2021-09-01T20:15:07.447Z
Modified
2026-03-13T21:59:42.692357Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/http4s/http4s

Affected ranges

Type
GIT
Repo
https://github.com/http4s/http4s
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.21.26"
        },
        {
            "introduced": "0.22.0"
        },
        {
            "last_affected": "0.22.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.23.0"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.23.1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone10"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone11"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone12"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone13"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone14"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone15"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone16"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone17"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone18"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone19"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone20"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone21"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone22"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone23"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone24"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone8"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-milestone9"
        }
    ]
}

Affected versions

v0.*
v0.21.26
v0.22.0
v0.22.1
v0.22.2
v0.22.3
v0.23.0
v0.23.0-M1
v0.23.0-RC1
v0.23.1
v1.*
v1.0.0-M11
v1.0.0-M12
v1.0.0-M13
v1.0.0-M14
v1.0.0-M15
v1.0.0-M16
v1.0.0-M17
v1.0.0-M18
v1.0.0-M19
v1.0.0-M20
v1.0.0-M21
v1.0.0-M22
v1.0.0-M23

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39185.json"