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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-29896— Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections

CVSS 7.5 · High EPSS 0.95% · P76
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-29896

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
Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections
Source: NVD (National Vulnerability Database)
Vulnerability Description
Astro-Shield is a library to compute the subresource integrity hashes for your JS scripts and CSS stylesheets. When automated CSP headers generation for SSR content is enabled and the web application serves content that can be partially controlled by external users, then it is possible that the CSP headers generation feature might be "allow-listing" malicious injected resources like inlined JS, or references to external malicious scripts. The fix is available in version 1.3.0.
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存在安全漏洞,该漏洞源于CSP标头生成功能允许列出恶意注入的资源。
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 -

II. Public POCs for CVE-2024-29896

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-29896

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-29896

No comments yet


Leave a comment