Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-39185— Default CORS config allows any origin with credentials

Quick assessment

Affected
http4s http4s
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

http4s是一款开源的用于Scala的流HTTP服务器。 Http4s 存在访问控制错误漏洞,该漏洞源于默认 CORS 配置容易受到源反射攻击。以下产品和版本受到影响:0.21.26 及更早版本、0.22.0 到 0.22.2、0.23.0、0.23.1 和 1.0.0-M1 到 1.0.0-M24。

CVSS 9.1 · Critical EPSS 0.59% · P46
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-39185

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Default CORS config allows any origin with credentials
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
源验证错误
Source: CVE Program / CVE List V5
Vulnerability Title
Http4s访问控制错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
http4s是一款开源的用于Scala的流HTTP服务器。 Http4s 存在访问控制错误漏洞,该漏洞源于默认 CORS 配置容易受到源反射攻击。以下产品和版本受到影响:0.21.26 及更早版本、0.22.0 到 0.22.2、0.23.0、0.23.1 和 1.0.0-M1 到 1.0.0-M24。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
http4s http4s < 0.21.27 -

II. Public POCs for CVE-2021-39185

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-39185

登录查看更多情报信息。

Vendor Advisories for CVE-2021-39185 (1)

Other References for CVE-2021-39185 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-39185

No comments yet


Leave a comment