Skip to content
Heist/ feed
Back to feed
Critical

node-minimist — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2021-44906

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Products
node-minimist
Affected versions
1.1.3-1, 1.2.0-1, 1.2.5+~cs5.3.1-2, 1.2.5+~cs5.3.2-1, 1.2.5-1, 1.2.7+~cs5.3.2-2, 1.2.8+~cs5.3.5-1, 1.2.8+~cs5.3.5-4
Fixed versions
Not specified
CVEs
CVE-2021-44906
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:35 UTC · Revision 1

Source evidence

UBUNTU-CVE-2021-44906

core-osv · Original source

Published 17 Mar 2022, 16:15 UTC

Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

osv:UBUNTU-CVE-2021-44906

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

node-minimist

Fixed versions: Not specified

Complete source record
{
  "id": "3f8488058e71280d2c9ffda54119f2e32c2e47dcfb80f039a516523a9e16b133",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-44906",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2021-44906",
    "summary": "Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).",
    "evidence": "osv:UBUNTU-CVE-2021-44906",
    "products": [
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.1.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.2.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.2.5-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.5+~cs5.3.1-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.2.5+~cs5.3.2-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.7+~cs5.3.2-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.2.8+~cs5.3.5-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.8+~cs5.3.5-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.8+~cs5.3.5-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.2.8+~cs5.3.5-4",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-minimist",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.8+~cs5.3.5-1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "UBUNTU-CVE-2021-44906",
      "aliases": [
        "UBUNTU-CVE-2021-44906"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.1.3-1",
            "1.2.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.2.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.2.0-1",
            "1.2.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.2.5+~cs5.3.1-2",
            "1.2.5+~cs5.3.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.5+~cs5.3.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.2.7+~cs5.3.2-2",
            "1.2.8+~cs5.3.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.8+~cs5.3.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.2.8+~cs5.3.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.8+~cs5.3.5-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.2.8+~cs5.3.5-1",
            "1.2.8+~cs5.3.5-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.8+~cs5.3.5-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-minimist",
            "purl": "pkg:deb/ubuntu/node-minimist?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.2.8+~cs5.3.5-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44906.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-minimist",
                "binary_version": "1.2.8+~cs5.3.5-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:47.505032314Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-44906"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2021-44906",
        "https://github.com/substack/minimist/issues/164",
        "https://snyk.io/vuln/SNYK-JS-MINIMIST-559764",
        "https://github.com/Marynk/JavaScript-vulnerability-detection/blob/main/minimist%20PoC.zip",
        "https://stackoverflow.com/questions/8588563/adding-custom-properties-to-a-function/20278068#20278068",
        "https://github.com/minimistjs/minimist/blob/master/index.js#L69",
        "https://github.com/minimistjs/minimist/issues/11",
        "https://www.cve.org/CVERecord?id=CVE-2021-44906"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-44906",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354091,
  "published_at": "2022-03-17T16:15:00+00:00"
}