
PEACH
Un cadre d’isolation des locataires
A memory leak exists in Faye's code for serving its static files, and this allows a client to incrementally increase the process's memory usage until it potentially crashes.
Faye comes with a set of static files for its client-side JavaScript component, and these files can be request from the server. For example, if a server is running at http://example.com/faye, the browser client can be fetched from http://example.com/faye/faye-browser-min.js. These files are cached in memory the first time they're requested so that later requests return quickly.
The control flow in this code means a cache entry will also be created if a file that does not exist is requested, and this entry is retained indefinitely and never garbage collected. By requesting a lot of non-existent files, a client can therefore cause the server to incrementally leak memory. The amount of memory leaked is a string containing the requested filename plus an empty Hash on each request.
Note that this is considered a low-risk attack since it causes memory to accumulate slowly. Faye already stores session state for its connected clients in memory and it is probably easier to abuse that to cause memory exhaustion than to do so by this method. Users are expected to allocate Faye sufficient memory to deal with their expected workload.
This has been mitigated by populating the in-memory cache eagerly from the small number of static files on disk when the server starts up, and then not modifying the cache at all at request time.
A client can request a series of unique filenames to trigger this memory leak, for example:
for n in {1..1000000} ; do
curl -s "http://host/faye/file-${n}.js" > /dev/null
doneA server running Faye may experience memory pressure or exhaustion, leading to degraded performance or denial of service if a client requests a large number of non-existent static files.
Source: NVD
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."