Skip to content
Heist/ feed
Back to feed
HighFix available

nodejs — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-21824

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "__proto__". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

Products
nodejs
Affected versions
Not specified
Fixed versions
12.22.9~dfsg-1
CVEs
CVE-2022-21824
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:48 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-21824

core-osv · Original source

Published 24 Feb 2022, 19:15 UTC

Due to the formatting logic of the "console.table()" function it was not safe to allow user controlled input to be passed to the "properties" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be "__proto__". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.

osv:DEBIAN-CVE-2022-21824

nodejs

Fixed versions: 12.22.9~dfsg-1

nodejs

Fixed versions: 12.22.9~dfsg-1

nodejs

Fixed versions: 12.22.9~dfsg-1

Complete source record
{
  "id": "1e567b74bbbd292997991dac7972b32209523284f376ec8cb4ab1230ae80474e",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-21824",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-21824",
    "summary": "Due to the formatting logic of the \"console.table()\" function it was not safe to allow user controlled input to be passed to the \"properties\" parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be \"__proto__\". The prototype pollution has very limited control, in that it only allows an empty string to be assigned to numerical keys of the object prototype.Node.js >= 12.22.9, >= 14.18.3, >= 16.13.2, and >= 17.3.1 use a null protoype for the object these properties are being assigned to.",
    "evidence": "osv:DEBIAN-CVE-2022-21824",
    "products": [
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "12.22.9~dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "12.22.9~dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "nodejs",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "12.22.9~dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2022-21824",
      "aliases": [
        "DEBIAN-CVE-2022-21824"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "12.22.9~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21824.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "12.22.9~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21824.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "12.22.9~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "nodejs",
            "purl": "pkg:deb/debian/nodejs?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-21824.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:02:24.684176716Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-21824"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-21824"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-21824",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323403,
  "published_at": "2022-02-24T19:15:10.08+00:00"
}