GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GHSA-VM67-7VMG-66VM

Vulnerability from github – Published: 2021-04-06 17:24 – Updated: 2021-03-31 17:50
VLAI
Summary
Arbitrary Command Injection in portprocesses
Details

Impact

An Arbitrary Command Injection vulnerability was reported in portprocesses impacting versions <= 1.0.4.

Example (Proof of Concept)

The following example demonstrates the vulnerability and will run touch success therefore creating a file named success.

const portprocesses = require("portprocesses");

portprocesses.killProcess("$(touch success)");
Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "portprocesses"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.0.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-23348"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-77",
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-31T17:50:32Z",
    "nvd_published_at": "2021-03-31T15:15:00Z",
    "severity": "MODERATE"
  },
  "details": "### Impact\n\nAn Arbitrary Command Injection vulnerability was reported in `portprocesses` impacting versions \u003c= 1.0.4.\n\n### Example (Proof of Concept)\n\nThe following example demonstrates the vulnerability and will run `touch success` therefore creating a file named `success`.\n\n```js\nconst portprocesses = require(\"portprocesses\");\n\nportprocesses.killProcess(\"$(touch success)\");\n```",
  "id": "GHSA-vm67-7vmg-66vm",
  "modified": "2021-03-31T17:50:32Z",
  "published": "2021-04-06T17:24:50Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/rrainn/PortProcesses/security/advisories/GHSA-vm67-7vmg-66vm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23348"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rrainn/PortProcesses/commit/86811216c9b97b01b5722f879f8c88a7aa4214e1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rrainn/PortProcesses/blob/fffceb09aff7180afbd0bd172e820404b33c8299/index.js%23L23"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-JS-PORTPROCESSES-1078536"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Arbitrary Command Injection in portprocesses"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…