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-04-10T04:37:01.622067Z
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.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.14.1
v0.17.0-M1
v0.18.0
v0.18.0-M1
v0.18.0-M2
v0.18.0-M3
v0.18.0-M4
v0.18.0-M5
v0.18.0-M6
v0.18.0-M7
v0.18.0-M8
v0.18.0-M9
v0.19.0
v0.19.0-M1
v0.19.0-M2
v0.19.0-M3
v0.2.0
v0.20.0
v0.20.0-M1
v0.20.0-M2
v0.20.0-M3
v0.20.0-M4
v0.20.0-M5
v0.20.0-M6
v0.20.0-M7
v0.20.0-RC1
v0.21.0
v0.21.0-M1
v0.21.0-M3
v0.21.0-M4
v0.21.0-M5
v0.21.0-M6
v0.21.0-RC1
v0.21.0-RC2
v0.21.0-RC3
v0.21.0-RC4
v0.21.0-RC5
v0.21.1
v0.21.11
v0.21.12
v0.21.13
v0.21.14
v0.21.15
v0.21.16
v0.21.18
v0.21.19
v0.21.20
v0.21.21
v0.21.22
v0.21.23
v0.21.25
v0.21.26
v0.21.3
v0.21.4
v0.21.5
v0.21.6
v0.21.7
v0.21.8
v0.21.9
v0.22.0-M1
v0.22.0-M3
v0.22.0-M5
v0.22.0-M6
v0.22.0-M7
v0.22.0-M8
v0.22.1
v0.22.2
v0.23.0
v0.23.0-M1
v0.23.1
v0.3.0
v0.5.0
v0.6.0
v0.7.0
v0.8.1
v0.9.0
v1.*
v1.0.0-M1
v1.0.0-M10
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-M2
v1.0.0-M20
v1.0.0-M21
v1.0.0-M22
v1.0.0-M23
v1.0.0-M24
v1.0.0-M3
v1.0.0-M4
v1.0.0-M5
v1.0.0-M6
v1.0.0-M7
v1.0.0-M8
v1.0.0-M9

Database specific

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