CVE-2024-29896
Kindspells Astro-shield vulnerability
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.
Affected products
Astro-shield. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Kindspells Astro-shield runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/KindSpells/astro-shield/security/advisories/GHSA-w387-5qqw-7g8m · Vendor Advisory
- github.com/KindSpells/astro-shield/commit/41b84576d37fa486a57005ea297658d0bc38566d · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-29896
- github.com/KindSpells/astro-shield/commit/ad3abf5577bae9be420b7ddf376337a5b8817869
- github.com/KindSpells/astro-shield/compare/1.2.0...1.3.0
- github.com/advisories/GHSA-w387-5qqw-7g8m
- nvd.nist.gov/vuln/detail/CVE-2024-29896
- cve.org/CVERecord?id=CVE-2024-29896
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.