Descrizione
pnpm is a package manager. Prior to 10.33.4 and 11.0.7, a malicious codeload.github.com server can serve whatever tarball it wants and pnpm will install it regardless of the lockfile. The lockfile does not store the hash of the dependencies from https://codeload.github.com. This means that if this server was compromised or a person's machine configuration was compromised, pnpm would download and install these dependencies. This vulnerability is fixed in 10.33.4 and 11.0.7.
Tipo di vulnerabilità
CWE-353
Missing Support for Integrity Check
The product uses a transmission protocol that does not include a mechanism for verifying the integrity of the data during transmission, such as a checksum.
Impatto sui sistemi
| Ambito | Impatto |
| Non ripudio, Integrità, Altro |
Altro, Nascondere le proprie attività |
Come si previene
Architettura e progettazione
Add an appropriately sized checksum to the protocol, ensuring that data received may be simply validated before it is parsed and used.
Sviluppo
Ensure that the checksums present in the protocol design are properly implemented and added to each message before it is sent.
Tutte le 36 CVE di tipo CWE-353, con andamento e prevenzione