ghsa-g4xg-fxmg-vcg5
Vulnerability from github
Published
2021-08-05 19:31
Modified
2021-09-07 21:16
Severity ?
Summary
OS command injection in ripgrep
Details

ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "crates.io",
        "name": "ripgrep"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "13.0.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "affected_functions": [
          "grep_cli::DecompressionReader::new"
        ]
      },
      "package": {
        "ecosystem": "crates.io",
        "name": "grep-cli"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-3013"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-14T19:32:57Z",
    "nvd_published_at": "2021-06-11T12:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "ripgrep before 13 on Windows allows attackers to trigger execution of arbitrary programs from the current working directory via the -z/--search-zip or --pre flag.",
  "id": "GHSA-g4xg-fxmg-vcg5",
  "modified": "2021-09-07T21:16:08Z",
  "published": "2021-08-05T19:31:55Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3013"
    },
    {
      "type": "WEB",
      "url": "https://github.com/BurntSushi/ripgrep/issues/1773"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/BurntSushi/ripgrep"
    },
    {
      "type": "WEB",
      "url": "https://github.com/BurntSushi/ripgrep/blob/e48a17e1891e1ea9dd06ba0e48d5fb140ca7c0c4/CHANGELOG.md"
    },
    {
      "type": "WEB",
      "url": "https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md"
    },
    {
      "type": "WEB",
      "url": "https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md#1300-2021-06-12"
    },
    {
      "type": "WEB",
      "url": "https://rustsec.org/advisories/RUSTSEC-2021-0071.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OS command injection in ripgrep"
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.