Buffer Overflow Affecting node package, versions [15.0.0, 15.10.0) [14.0.0, 14.16.0) [12.0.0, 12.21.0) [10.0.0, 10.24.0)
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UPSTREAM-NODE-1078519
- published 23 Feb 2021
- disclosed 23 Feb 2021
- credit Paul Kehrer
Introduced: 23 Feb 2021
CVE-2021-23840 Open this link in a new tabHow to fix?
Upgrade node
to version 15.10.0, 14.16.0, 12.21.0, 10.24.0 or higher.
Overview
node is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Affected versions of this package are vulnerable to Buffer Overflow. Calls to EVP_CipherUpdate
, EVP_EncryptUpdate
and EVP_DecryptUpdate
may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash.