Skip to content
Heist/ feed
Back to feed
HighFix available

node — security advisory

Type: advisorySources: OSVAdvisory ID: BIT-node-2021-22940

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.

Products
node
Affected versions
Not specified
Fixed versions
12.22.5, 14.17.5, 16.6.2
CVEs
CVE-2021-22940
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 19:53 UTC · Revision 1

Source evidence

BIT-node-2021-22940

core-osv · Original source

Published 6 Mar 2024, 11:06 UTC

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.

osv:BIT-node-2021-22940

node

Fixed versions: 12.22.5, 14.17.5, 16.6.2

Complete source record
{
  "id": "ea769a1381142fe8d5bd97a253876fa7b125afa305732a57d3654a411ee43294",
  "url": "https://osv.dev/vulnerability/BIT-node-2021-22940",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "BIT-node-2021-22940",
    "summary": "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.",
    "evidence": "osv:BIT-node-2021-22940",
    "products": [
      {
        "name": {
          "value": "node",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "12.22.5",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "14.17.5",
            "evidence": "/affected/0/ranges"
          },
          {
            "value": "16.6.2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "BIT-node-2021-22940",
      "aliases": [
        "BIT-node-2021-22940",
        "BIT-node-min-2021-22940",
        "CVE-2021-22940"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "12.0.0"
                },
                {
                  "fixed": "12.22.5"
                },
                {
                  "introduced": "14.0.0"
                },
                {
                  "fixed": "14.17.5"
                },
                {
                  "introduced": "16.0.0"
                },
                {
                  "fixed": "16.6.2"
                }
              ]
            }
          ],
          "package": {
            "name": "node",
            "purl": "pkg:bitnami/node",
            "ecosystem": "Bitnami"
          },
          "severity": [
            {
              "type": "CVSS_V3",
              "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
            }
          ],
          "database_specific": {
            "source": "https://github.com/bitnami/vulndb/tree/main/data/node/BIT-node-2021-22940.json"
          }
        }
      ],
      "modified": "2026-10-16T09:45:20.684581529Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/1238162",
        "https://lists.debian.org/debian-lts-announce/2022/10/msg00006.html",
        "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/",
        "https://security.gentoo.org/glsa/202401-02",
        "https://security.netapp.com/advisory/ntap-20210923-0001/",
        "https://www.oracle.com/security-alerts/cpujan2022.html",
        "https://www.oracle.com/security-alerts/cpujul2022.html",
        "https://www.oracle.com/security-alerts/cpuoct2021.html",
        "https://nvd.nist.gov/vuln/detail/CVE-2021-22940"
      ],
      "provider_metadata": {
        "cpes": [
          "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
          "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*"
        ],
        "severity": "High"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-22940",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/database_specific/severity"
  },
  "source_id": "core-osv",
  "document_id": 338395,
  "published_at": "2024-03-06T11:06:08.004+00:00"
}