Pkg Vercel Pkg

Do you want an email whenever new security vulnerabilities are reported in Vercel Pkg?

By the Year

In 2024 there have been 1 vulnerability in Vercel Pkg with an average score of 7.8 out of ten. Pkg did not have any published security vulnerabilities last year. That is, 1 more vulnerability have already been reported in 2024 as compared to last year.

Year Vulnerabilities Average Score
2024 1 7.80
2023 0 0.00
2022 0 0.00
2021 0 0.00
2020 0 0.00
2019 0 0.00
2018 0 0.00

It may take a day or so for new Pkg vulnerabilities to show up in the stats or in the list of recent security vulnerabilties. Additionally vulnerabilities may be tagged under a different product or component name.

Recent Vercel Pkg Security Vulnerabilities

pkg is tool design to bundle Node.js projects into an executables

CVE-2024-24828 7.8 - High - February 09, 2024

pkg is tool design to bundle Node.js projects into an executables. Any native code packages built by `pkg` are written to a hardcoded directory. On unix systems, this is `/tmp/pkg/*` which is a shared directory for all users on the same local system. There is no uniqueness to the package names within this directory, they are predictable. An attacker who has access to the same local system has the ability to replace the genuine executables in the shared directory with malicious executables of the same name. A user may then run the malicious executable without realising it has been modified. This package is deprecated. Therefore, there will not be a patch provided for this vulnerability. To check if your executable build by pkg depends on native code and is vulnerable, run the executable and check if `/tmp/pkg/` was created. Users should transition to actively maintained alternatives. We would recommend investigating Node.js 21s support for single executable applications. Given the decision to deprecate the pkg package, there are no official workarounds or remediations provided by our team. Users should prioritize migrating to other packages that offer similar functionality with enhanced security.

Stay on top of Security Vulnerabilities

Want an email whenever new vulnerabilities are published for Vercel Pkg or by Vercel? Click the Watch button to subscribe.

Vercel
Vendor

Vercel Pkg
Product

subscribe