
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
Astro, a web framework for content-driven websites, contains a vulnerability (CVE-2024-56159) that allows unauthenticated users to read parts of the server source code. During the build process, sourcemap files for server code are moved to a publicly-accessible folder, which can be accessed via unauthorized HTTP GET requests. The vulnerability affects server-output projects on Astro 5 versions v5.0.3 through v5.0.7, and static-output projects using Astro 4 versions 4.16.17 or older, or Astro 5 versions 5.0.8 or older, with sourcemaps enabled (GitHub Advisory).
The vulnerability stems from a bug in the build process where sourcemap files for server code are incorrectly moved to a public folder alongside client assets. While some server files are hashed, files corresponding to the file system router (in src/pages
) are predictably named. For example, the sourcemap file for src/pages/index.astro
is named dist/client/pages/index.astro.mjs.map
. The vulnerability has been assigned a CVSS v4.0 score of 7.8 (High), with attack vector being Network, low attack complexity, and no privileges or user interaction required (GitHub Advisory).
The immediate impact is limited to source code exposure. While secrets and environment variables are not directly exposed unless present in the source code, the vulnerability can lead to the discovery of additional vulnerabilities through the revealed source code. There is no immediate impact on server integrity, but exposed code could reveal vulnerabilities that might compromise server availability, such as unsafe regular expressions (GitHub Advisory).
The vulnerability has been patched in multiple versions: astro@5.0.8 for server-output projects, and astro@5.0.9 (also backported to astro@4.16.18) for static-output projects. Users are strongly advised to update immediately if they are using sourcemaps or an integration that enables sourcemaps (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”