gsd-2020-8130
Vulnerability from gsd
Modified
2019-08-29 00:00
Details
There is an OS command injection vulnerability in Ruby Rake < 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`.
Aliases



{
  "GSD": {
    "alias": "CVE-2020-8130",
    "description": "There is an OS command injection vulnerability in Ruby Rake \u003c 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`.",
    "id": "GSD-2020-8130",
    "references": [
      "https://www.suse.com/security/cve/CVE-2020-8130.html",
      "https://access.redhat.com/errata/RHSA-2021:4702",
      "https://ubuntu.com/security/CVE-2020-8130",
      "https://advisories.mageia.org/CVE-2020-8130.html",
      "https://alas.aws.amazon.com/cve/html/CVE-2020-8130.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "rake",
            "purl": "pkg:gem/rake"
          }
        }
      ],
      "aliases": [
        "CVE-2020-8130",
        "GHSA-jppv-gw3r-w3q8"
      ],
      "details": "There is an OS command injection vulnerability in Ruby Rake \u003c 12.3.3 in\nRake::FileList when supplying a filename that begins with the pipe character\n`|`.\n",
      "id": "GSD-2020-8130",
      "modified": "2019-08-29T00:00:00.000Z",
      "published": "2019-08-29T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/advisories/GHSA-jppv-gw3r-w3q8"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 9.3,
          "type": "CVSS_V2"
        },
        {
          "score": 8.1,
          "type": "CVSS_V3"
        }
      ],
      "summary": "OS Command Injection in Rake"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "support@hackerone.com",
        "ID": "CVE-2020-8130",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "https://github.com/ruby/ruby",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "Fixed in Rake 12.3.3"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "There is an OS command injection vulnerability in Ruby Rake \u003c 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "OS Command Injection (CWE-78)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://hackerone.com/reports/651518",
            "refsource": "MISC",
            "url": "https://hackerone.com/reports/651518"
          },
          {
            "name": "[debian-lts-announce] 20200226 [SECURITY] [DLA 2120-1] rake security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html"
          },
          {
            "name": "USN-4295-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/4295-1/"
          },
          {
            "name": "openSUSE-SU-2020:0395",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html"
          },
          {
            "name": "FEDORA-2020-28e06b5f08",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/"
          },
          {
            "name": "FEDORA-2020-dc1ae17bb5",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2020-8130",
      "cvss_v2": 9.3,
      "cvss_v3": 8.1,
      "date": "2019-08-29",
      "description": "There is an OS command injection vulnerability in Ruby Rake \u003c 12.3.3 in\nRake::FileList when supplying a filename that begins with the pipe character\n`|`.\n",
      "gem": "rake",
      "ghsa": "jppv-gw3r-w3q8",
      "patched_versions": [
        "\u003e= 12.3.3"
      ],
      "title": "OS Command Injection in Rake",
      "url": "https://github.com/advisories/GHSA-jppv-gw3r-w3q8"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c12.3.3",
          "affected_versions": "All versions before 12.3.3",
          "cvss_v2": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
          "cvss_v3": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-937"
          ],
          "date": "2020-06-30",
          "description": "There is an OS command injection vulnerability in Ruby Rake in `Rake::FileList` when supplying a filename that begins with the pipe character `|`.",
          "fixed_versions": [
            "12.3.3"
          ],
          "identifier": "CVE-2020-8130",
          "identifiers": [
            "CVE-2020-8130"
          ],
          "not_impacted": "All versions starting from 12.3.3",
          "package_slug": "gem/rake",
          "pubdate": "2020-02-24",
          "solution": "Upgrade to version 12.3.3 or above.",
          "title": "OS Command Injection",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-8130"
          ],
          "uuid": "c1b2e6f9-89e0-4903-b140-8f8860bffa36"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:ruby-lang:rake:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "12.3.3",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve-assignments@hackerone.com",
          "ID": "CVE-2020-8130"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "There is an OS command injection vulnerability in Ruby Rake \u003c 12.3.3 in Rake::FileList when supplying a filename that begins with the pipe character `|`."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-78"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://hackerone.com/reports/651518",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://hackerone.com/reports/651518"
            },
            {
              "name": "[debian-lts-announce] 20200226 [SECURITY] [DLA 2120-1] rake security update",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00026.html"
            },
            {
              "name": "USN-4295-1",
              "refsource": "UBUNTU",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://usn.ubuntu.com/4295-1/"
            },
            {
              "name": "openSUSE-SU-2020:0395",
              "refsource": "SUSE",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00041.html"
            },
            {
              "name": "FEDORA-2020-28e06b5f08",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VXMX4ARNX2JLRJMSH4N3J3UBMUT5CI44/"
            },
            {
              "name": "FEDORA-2020-dc1ae17bb5",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/523CLQ62VRN3VVC52KMPTROCCKY4Z36B/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "LOCAL",
            "authentication": "NONE",
            "availabilityImpact": "COMPLETE",
            "baseScore": 6.9,
            "confidentialityImpact": "COMPLETE",
            "integrityImpact": "COMPLETE",
            "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C",
            "version": "2.0"
          },
          "exploitabilityScore": 3.4,
          "impactScore": 10.0,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 6.4,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 0.5,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2020-06-30T14:00Z",
      "publishedDate": "2020-02-24T15:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...