Descrizione
@astrojs/node allows Astro to deploy your SSR site to Node targets. Prior to 10.0.5, requesting a static js/css resources from _astro path with an incorrect/malformed if-match header returns a 500 error with a one year cache lifetime instead of 412 in some cases. This has the effect that all subsequent requests to that file, regardless of if-match header will be served a 5xx error instead of the file until the cache expires. This vulnerability is fixed in 10.0.5.
Tipo di vulnerabilità
CWE-525
Use of Web Browser Cache Containing Sensitive Information
The web application does not use an appropriate caching policy that specifies the extent to which each web page and associated form fields should be cached.
Impatto sui sistemi
| Ambito | Impatto |
| Riservatezza |
Leggere i dati dell’applicazione |
Come si previene
Architettura e progettazione
Protect information stored in cache.
Sviluppo
Use a restrictive caching policy for forms and web pages that potentially contain sensitive information, such as no-cache in the Cache-Control header.
Architettura e progettazione
Do not store unnecessarily sensitive information in the cache.
Architettura e progettazione
Consider using encryption in the cache.
Tutte le 36 CVE di tipo CWE-525, con andamento e prevenzione