Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-7789

This affects the package node-notifier before 9.0.0. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-7789
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 06:49 UTC · Revision 1

Source evidence

CVE-2020-7789

core-osv · Original source

Published 11 Dec 2020, 10:15 UTC

This affects the package node-notifier before 9.0.0. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.

osv:CVE-2020-7789
Complete source record
{
  "id": "1313a57aea0947d34ace715fe5ade1623ffe3650598bbba63d8c1ec50d4ccf4b",
  "url": "https://osv.dev/vulnerability/CVE-2020-7789",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-7789",
    "summary": "This affects the package node-notifier before 9.0.0. It allows an attacker to run arbitrary commands on Linux machines due to the options params not being sanitised when being passed an array.",
    "evidence": "osv:CVE-2020-7789",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-7789",
      "aliases": [
        "CVE-2020-7789",
        "GHSA-5fw9-fq32-wv5p"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mikaelbr/node-notifier",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5d62799dab88505a709cd032653b2320c5813fce"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:node-notifier_project:node-notifier:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "8.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.4.3",
            "v8.0.0",
            "v7.0.2",
            "v7.0.1",
            "v7.0.0",
            "v6.0.0",
            "v5.4.0",
            "v5.3.0",
            "v5.2.1",
            "v5.2.0",
            "v5.1.2",
            "v5.1.1",
            "v5.1.0",
            "v5.0.2",
            "v5.0.1",
            "v5.0.0",
            "v4.6.1",
            "v4.6.0",
            "v4.5.0",
            "v4.4.0",
            "v4.3.1",
            "v4.3.0",
            "v4.2.3",
            "v4.2.2",
            "v4.2.1",
            "v4.2.0",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.4.1",
            "v3.4.0",
            "v3.2.1",
            "v3.2.0",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.6",
            "v3.0.5",
            "v3.0.3",
            "v3.0.2",
            "v3.0.0-1",
            "v3.0.0",
            "v2.0.6",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0-alpha",
            "v1.2.1",
            "v1.2.0",
            "v1.1.2-0",
            "v1.1.1-2",
            "v1.1.1-1",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0-beta2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7789.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:44.929096057Z",
      "provider": "osv",
      "references": [
        "https://github.com/mikaelbr/node-notifier/blob/master/lib/utils.js%23L303",
        "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1050371",
        "https://snyk.io/vuln/SNYK-JS-NODENOTIFIER-1035794"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-7789",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 435997,
  "published_at": "2020-12-11T10:15:12.423+00:00"
}