Use After Free Affecting nodejs package, versions <12.22.5~dfsg-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
13.86% (97th percentile)

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 IDSNYK-ECHOLATEST-NODEJS-18427048
  • published30 Jul 2026
  • disclosed16 Aug 2021

Introduced: 16 Aug 2021

CVE-2021-22940  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Echo:latest nodejs to version 12.22.5~dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs package and not the nodejs package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Node.js before 16.6.1, 14.17.5, and 12.22.5 is vulnerable to a use after free attack where an attacker might be able to exploit the memory corruption, to change process behavior.

CVSS Base Scores

version 3.1