Vulnérabilités / CVE-2024-21896

critique

CVE-2024-21896

nodejs: path traversal by monkey-patching buffer internals

Publiée Modifiée CWE 27
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.9CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Bitnami9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Le label propre à Trivy est CRITICAL. Critique selon NVD, Azure Linux, Bitnami, Photon OS. Plus basse selon Red Hat (élevée), AlmaLinux (élevée), Amazon (élevée), Oracle (élevée), Rocky Linux (élevée).

Description

The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability. This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Azure Linux 3.0nodejs0:20.14.0-1.azl3
bitnami::Bitnami Vulnerability Databasenode, node-min20.12.0, 22.1.0 et 1 autres
Photon OS 5.0nodejs, nodejs-devel20.11.1-1.ph5
alma 8nodejs:20::nodejs, nodejs:20::nodejs-devel, nodejs:20::nodejs-docs et 5 autres1:20.11.1-1.module_el8.9.0+3775+d8460d35 et 3 autres
alma 9nodejs:20::nodejs, nodejs:20::nodejs-devel, nodejs:20::nodejs-docs et 5 autres1:20.11.1-1.module_el9.3.0+88+29afeaa2 et 3 autres
amazon linux 2023nodejs20, nodejs20-debuginfo, nodejs20-debugsource et 7 autres1:20.11.1-1.amzn2023.0.1 et 2 autres
Oracle Linux 8nodejs, nodejs-devel, nodejs-docs et 5 autres1:20.11.1-1.module+el8.9.0+90250+089ba5e1 et 3 autres
Oracle Linux 9nodejs, nodejs-devel, nodejs-docs et 5 autres1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1 et 3 autres
rapidfort alma 9nodejs, nodejs-docs, nodejs-full-i18n et 2 autres1:20.11.1-1.module+el9.3.0+21385+bac43d5a et 2 autres
rapidfort amazon linux 2023nodejs20, nodejs20-devel, nodejs20-docs et 3 autres1:20.11.1-1.amzn2023.0.1 et 1 autres
rapidfort Oracle Linux 9nodejs, nodejs-docs, nodejs-full-i18n et 2 autres1:20.11.1-1.module+el9.3.0+21385+bac43d5a et 2 autres
rapidfort Red Hat 9nodejs, nodejs-docs, nodejs-full-i18n et 2 autres1:20.11.1-1.module+el9.3.0+21385+bac43d5a et 2 autres
Afficher les 89 entrées de 18 sources
SourcePaquetCorrigé en
Azure Linux 3.0nodejs0:20.14.0-1.azl3
bitnami::Bitnami Vulnerability Databasenode20.12.0, 22.1.0
bitnami::Bitnami Vulnerability Databasenode-min20.18.1, 22.12.0
Photon OS 5.0nodejs20.11.1-1.ph5
Photon OS 5.0nodejs-devel20.11.1-1.ph5
alma 8nodejs:20::nodejs1:20.11.1-1.module_el8.9.0+3775+d8460d35
alma 8nodejs:20::nodejs-devel1:20.11.1-1.module_el8.9.0+3775+d8460d35
alma 8nodejs:20::nodejs-docs1:20.11.1-1.module_el8.9.0+3775+d8460d35
alma 8nodejs:20::nodejs-full-i18n1:20.11.1-1.module_el8.9.0+3775+d8460d35
alma 8nodejs:20::nodejs-nodemon3.0.1-1.module_el8.9.0+3731+490e3ce5
alma 8nodejs:20::nodejs-packaging2021.06-4.module_el8.9.0+3684+11b9e959
alma 8nodejs:20::nodejs-packaging-bundler2021.06-4.module_el8.9.0+3684+11b9e959
alma 8nodejs:20::npm1:10.2.4-1.20.11.1.1.module_el8.9.0+3775+d8460d35
alma 9nodejs:20::nodejs1:20.11.1-1.module_el9.3.0+88+29afeaa2
alma 9nodejs:20::nodejs-devel1:20.11.1-1.module_el9.3.0+88+29afeaa2
alma 9nodejs:20::nodejs-docs1:20.11.1-1.module_el9.3.0+88+29afeaa2
alma 9nodejs:20::nodejs-full-i18n1:20.11.1-1.module_el9.3.0+88+29afeaa2
alma 9nodejs:20::nodejs-nodemon3.0.1-1.module_el9.3.0+47+c33bc288
alma 9nodejs:20::nodejs-packaging2021.06-4.module_el9.3.0+48+1cf146a1
alma 9nodejs:20::nodejs-packaging-bundler2021.06-4.module_el9.3.0+48+1cf146a1
alma 9nodejs:20::npm1:10.2.4-1.20.11.1.1.module_el9.3.0+88+29afeaa2
amazon linux 2023nodejs201:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-debuginfo1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-debugsource1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-devel1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-docs1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-full-i18n1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-libs1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-libs-debuginfo1:20.11.1-1.amzn2023.0.1
amazon linux 2023nodejs20-npm1:10.2.4-1.20.11.1.1.amzn2023.0.1
amazon linux 2023v8-11.3-devel3:11.3.244.8-1.20.11.1.1.amzn2023.0.1
Oracle Linux 8nodejs1:20.11.1-1.module+el8.9.0+90250+089ba5e1
Oracle Linux 8nodejs-devel1:20.11.1-1.module+el8.9.0+90250+089ba5e1
Oracle Linux 8nodejs-docs1:20.11.1-1.module+el8.9.0+90250+089ba5e1
Oracle Linux 8nodejs-full-i18n1:20.11.1-1.module+el8.9.0+90250+089ba5e1
Oracle Linux 8nodejs-nodemon3.0.1-1.module+el8.9.0+90082+b6a613a6
Oracle Linux 8nodejs-packaging2021.06-4.module+el8.9.0+90082+b6a613a6
Oracle Linux 8nodejs-packaging-bundler2021.06-4.module+el8.9.0+90082+b6a613a6
Oracle Linux 8npm1:10.2.4-1.20.11.1.1.module+el8.9.0+90250+089ba5e1
Oracle Linux 9nodejs1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1
Oracle Linux 9nodejs-devel1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1
Oracle Linux 9nodejs-docs1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1
Oracle Linux 9nodejs-full-i18n1:20.11.1-1.module+el9.3.0+90254+3f4d3ee1
Oracle Linux 9nodejs-nodemon3.0.1-1.module+el9.3.0+90066+12d4a8d7
Oracle Linux 9nodejs-packaging2021.06-4.module+el9.3.0+90066+12d4a8d7
Oracle Linux 9nodejs-packaging-bundler2021.06-4.module+el9.3.0+90066+12d4a8d7
Oracle Linux 9npm1:10.2.4-1.20.11.1.1.module+el9.3.0+90254+3f4d3ee1
rapidfort alma 9nodejs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort alma 9nodejs-docs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort alma 9nodejs-full-i18n1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort alma 9nodejs-nodemon0:3.0.1-1.module+el9.3.0.z+20478+84a9f781, 3.0.1-1.module_el9.3.0+47+c33bc288
rapidfort alma 9npm1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a
rapidfort amazon linux 2023nodejs201:20.11.1-1.amzn2023.0.1
rapidfort amazon linux 2023nodejs20-devel1:20.11.1-1.amzn2023.0.1
rapidfort amazon linux 2023nodejs20-docs1:20.11.1-1.amzn2023.0.1
rapidfort amazon linux 2023nodejs20-full-i18n1:20.11.1-1.amzn2023.0.1
rapidfort amazon linux 2023nodejs20-libs1:20.11.1-1.amzn2023.0.1
rapidfort amazon linux 2023nodejs20-npm1:10.2.4-1.20.11.1.1.amzn2023.0.1
rapidfort Oracle Linux 9nodejs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Oracle Linux 9nodejs-docs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Oracle Linux 9nodejs-full-i18n1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Oracle Linux 9nodejs-nodemon0:3.0.1-1.module+el9.3.0.z+20478+84a9f781
rapidfort Oracle Linux 9npm1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a
rapidfort Red Hat 9nodejs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Red Hat 9nodejs-docs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Red Hat 9nodejs-full-i18n1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort Red Hat 9nodejs-nodemon0:3.0.1-1.module+el9.3.0.z+20478+84a9f781
rapidfort Red Hat 9npm1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a
rapidfort rocky 9nodejs1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort rocky 9nodejs-full-i18n1:20.11.1-1.module+el9.3.0+21385+bac43d5a
rapidfort rocky 9nodejs-nodemon0:3.0.1-1.module+el9.6.0+32185+bd121a25
rapidfort rocky 9npm1:10.2.4-1.20.11.1.1.module+el9.3.0+21385+bac43d5a
rapidfort ubuntu 20.04nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rapidfort ubuntu 20.04rf-nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rapidfort ubuntu 22.04nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rapidfort ubuntu 22.04rf-nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rapidfort ubuntu 24.04nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rapidfort ubuntu 24.04rf-nodejs0:22.22.1+dfsg+~cs22.19.15-1ubuntu1
rocky 8nodejs:20::nodejs1:20.11.1-1.module+el8.9.0+1776+addd4aec
rocky 8nodejs:20::nodejs-devel1:20.11.1-1.module+el8.9.0+1776+addd4aec
rocky 8nodejs:20::nodejs-docs1:20.11.1-1.module+el8.9.0+1776+addd4aec
rocky 8nodejs:20::nodejs-full-i18n1:20.11.1-1.module+el8.9.0+1776+addd4aec
rocky 8nodejs:20::nodejs-nodemon3.0.1-1.module+el8.8.0+1459+02651ab6
rocky 8nodejs:20::nodejs-packaging2021.06-4.module+el8.7.0+1072+5b168780
rocky 8nodejs:20::nodejs-packaging-bundler2021.06-4.module+el8.7.0+1072+5b168780
rocky 8nodejs:20::npm1:10.2.4-1.20.11.1.1.module+el8.9.0+1776+addd4aec
rocky 9nodejs:22::nodejs-nodemon3.0.1-1.module+el9.6.0+32143+ae966e5b
rocky 9nodejs:22::nodejs-packaging2021.06-4.module+el9.6.0+32185+bd121a25
rocky 9nodejs:22::nodejs-packaging-bundler2021.06-4.module+el9.6.0+32185+bd121a25

Références

Les 36 références

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.