A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
Astro is a web framework for content-driven websites. Prior to 7.2.4, Astro stripped a configured non-root base path from request pathnames using a string-prefix check without verifying a path-segment boundary. With base "/app", a request to "/appX/admin" resolved internally to the protected "/admin" route while middleware observed "/appX/admin" in context.url.pathname. In applications that authorize base-prefixed routes by inspecting context.url.pathname, an unauthenticated remote attacker could bypass pathname-based middleware authorization and reach protected routes. This issue is fixed in version 7.2.4.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /withastro/astro/commit/05763a0884aabb1da78a2749d5bb9d41ae6…
- github.com /withastro/astro/pull/17701
- github.com /withastro/astro/releases/tag/astro@7.2.4
- github.com /withastro/astro/security/advisories/GHSA-376h-93r7-7g6f
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning