CVE-2024-29896 Astro-Shield's Content-Security-Policy header generation in middleware could be compromised by malicious injections
설명
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.
영향 받는 제품 제품 1개
-
KindSpells
astro-shield
영향 받는 버전
- 1.2.0
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
npm · @kindspells/astro-shield
영향 받는 버전 · 해결 버전
- 영향 1.2.0 이상 1.3.0 미만 · 해결 1.3.0 이상
출처: GitHub Advisory Database · CC-BY 4.0