GHSA-63M4-FHF2-CMF7

Vulnerability from github – Published: 2020-09-01 16:43 – Updated: 2023-09-08 18:52
VLAI?
Summary
Command Execution in windows-cpu
Details

Version of windows-cpu before 0.1.5 will execute arbitrary code passed into the first argument of the findLoad method, resulting in remote code execution.

Proof of Concept

var win = require('windows-cpu');
wind.findLoad('foo & calc.exe');

Recommendation

Update to version 0.1.5 or later.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "windows-cpu"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2017-1000219"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:19:44Z",
    "nvd_published_at": null,
    "severity": "CRITICAL"
  },
  "details": "Version of `windows-cpu` before 0.1.5 will execute arbitrary code passed into the first argument of the `findLoad` method, resulting in remote code execution.\n\n## Proof of Concept\n\n```js\nvar win = require(\u0027windows-cpu\u0027);\nwind.findLoad(\u0027foo \u0026 calc.exe\u0027);\n```\n\n\n## Recommendation\n\nUpdate to version 0.1.5 or later.",
  "id": "GHSA-63m4-fhf2-cmf7",
  "modified": "2023-09-08T18:52:10Z",
  "published": "2020-09-01T16:43:55Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000219"
    },
    {
      "type": "WEB",
      "url": "https://github.com/KyleRoss/windows-cpu/commit/b75e19aa2f7459a9506bceb577ba2341fe273117"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/KyleRoss/windows-cpu"
    },
    {
      "type": "WEB",
      "url": "https://github.com/KyleRoss/windows-cpu/blob/master/index.js#L81"
    },
    {
      "type": "WEB",
      "url": "https://www.npmjs.com/advisories/336"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Command Execution in windows-cpu"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…