GHSA-R7J3-VVH2-XRPJ

Vulnerability from github – Published: 2019-07-18 13:19 – Updated: 2023-01-25 20:10
VLAI?
Summary
OS Command Injection in MiniMagick
Details

In lib/mini_magick/image.rb in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because Image.open input is directly passed to Kernel#open, which accepts a | character followed by a command.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "mini_magick"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4.9.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-13574"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-78"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2019-07-18T13:18:58Z",
    "nvd_published_at": "2019-07-12T03:15:00Z",
    "severity": "HIGH"
  },
  "details": "In `lib/mini_magick/image.rb` in MiniMagick before 4.9.4, a fetched remote image filename could cause remote command execution because `Image.open` input is directly passed to `Kernel#open`, which accepts a `|` character followed by a command.",
  "id": "GHSA-r7j3-vvh2-xrpj",
  "modified": "2023-01-25T20:10:32Z",
  "published": "2019-07-18T13:19:22Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-13574"
    },
    {
      "type": "WEB",
      "url": "https://github.com/minimagick/minimagick/commit/4cd5081e58810d3394d27a67219e8e4e0445d851"
    },
    {
      "type": "WEB",
      "url": "https://benjamin-bouchet.com/blog/vulnerabilite-dans-la-gem-mini_magick-version-4-9-4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/minimagick/minimagick"
    },
    {
      "type": "WEB",
      "url": "https://github.com/minimagick/minimagick/compare/d484786...293f9bb"
    },
    {
      "type": "WEB",
      "url": "https://github.com/minimagick/minimagick/releases/tag/v4.9.4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mini_magick/CVE-2019-13574.yml"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2019/10/msg00007.html"
    },
    {
      "type": "WEB",
      "url": "https://seclists.org/bugtraq/2019/Jul/20"
    },
    {
      "type": "WEB",
      "url": "https://www.debian.org/security/2019/dsa-4481"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "OS Command Injection in MiniMagick"
}


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…