ghsa-ph7w-p94x-9vvw
Vulnerability from github
Published
2022-05-24 17:02
Modified
2023-03-03 15:30
Details

Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2019-16255"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-94"
    ],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2019-11-26T18:15:00Z",
    "severity": "HIGH"
  },
  "details": "Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the \"command\" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.",
  "id": "GHSA-ph7w-p94x-9vvw",
  "modified": "2023-03-03T15:30:24Z",
  "published": "2022-05-24T17:02:11Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16255"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/327512"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2019/11/msg00025.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2019/12/msg00009.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00027.html"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00033.html"
    },
    {
      "type": "WEB",
      "url": "https://seclists.org/bugtraq/2019/Dec/31"
    },
    {
      "type": "WEB",
      "url": "https://seclists.org/bugtraq/2019/Dec/32"
    },
    {
      "type": "WEB",
      "url": "https://security.gentoo.org/glsa/202003-06"
    },
    {
      "type": "WEB",
      "url": "https://www.debian.org/security/2019/dsa-4587"
    },
    {
      "type": "WEB",
      "url": "https://www.oracle.com/security-alerts/cpujan2020.html"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/ja/news/2019/10/01/code-injection-shell-test-cve-2019-16255"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-4-8-released"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-5-7-released"
    },
    {
      "type": "WEB",
      "url": "https://www.ruby-lang.org/ja/news/2019/10/01/ruby-2-6-5-released"
    },
    {
      "type": "WEB",
      "url": "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}


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.