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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-30250— In Astro-Shield, setting a correct `integrity` attribute to injected code allows to bypass the allow-lists

CVSS 7.5 · High EPSS 0.22% · P45
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-30250

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
In Astro-Shield, setting a correct `integrity` attribute to injected code allows to bypass the allow-lists
Source: NVD (National Vulnerability Database)
Vulnerability Description
Astro-Shield is an integration to enhance website security with SubResource Integrity hashes, Content-Security-Policy headers, and other techniques. Versions from 1.2.0 to 1.3.1 of Astro-Shield allow bypass to the allow-lists for cross-origin resources by introducing valid `integrity` attributes to the injected code. This implies that the injected SRI hash would be added to the generated CSP header, which would lead the browser to believe that the injected resource is legit. This vulnerability is patched in version 1.3.2.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
对数据真实性的验证不充分
Source: NVD (National Vulnerability Database)
Vulnerability Title
Astro-Shield 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Astro-Shield是KindSpells Labs开源的一个库。用于计算 JS 脚本和 CSS 样式表的子资源完整性哈希。 Astro-Shield 1.2.0至1.3.1版本存在安全漏洞,该漏洞源于允许攻击者为注入的代码设置正确的integrity属性来绕过允许列表。
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

VendorProductAffected VersionsCPESubscribe
kindspellsastro-shield >= 1.2.0, < 1.3.2 -

II. Public POCs for CVE-2024-30250

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-30250

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-30250

No comments yet


Leave a comment