CVE-2024-30250
Kindspells Astro-shield vulnerability
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.
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-c4gr-q97g-ppwc · Vendor Advisory
- github.com/kindspells/astro-shield/commit/1221019306f501bf5fa9bcfb5a23a2321d34ba0a · Patch
- github.com/kindspells/astro-shield/commit/5ae8b8ef4f681d3a81431ee7e79d5dec545c6e1f · Patch
- github.com/kindspells/astro-shield/releases/tag/1.3.2
- nvd.nist.gov/vuln/detail/CVE-2024-30250
- github.com/advisories/GHSA-c4gr-q97g-ppwc
- nvd.nist.gov/vuln/detail/CVE-2024-30250
- cve.org/CVERecord?id=CVE-2024-30250
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.