CVEMETERBack to radar
OFFICIAL RECORD · Ruby packages

CVE-2019-5477

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Ruby packages · CVE-2019-5477

A command injection vulnerability in Nokogiri v1.10.3 and earlier allows commands to be executed in a subprocess via Ruby's `Kernel.open` method. Processes are vulnerable only if the undocumented method `Nokogiri::CSS::Tokenizer#load_file` is being called with unsafe user input as the filename. This vulnerability appears in code generated by the Rexical gem versions v1.0.6 and earlier. Rexical is used by Nokogiri to generate lexical scanner code for parsing CSS queries. The underlying vulnerability was addressed in Rexical v1.0.7 and Nokogiri upgraded to this version of Rexical in Nokogiri v1.10.4.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 5.899% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T15:55:09.885ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:27.005ZFIRST EPSS
patchesverified2026-11-19T12:52:44.936ZOSV
affectedverified2026-11-19T12:55:20.331ZCVE Program
lifecycleverified2026-11-19T12:55:20.331ZCVE Program

Affected versions and configuration

n/a Nokogiri (ruby gem); default status: unknown: Fixed in v1.10.4 [affected; scheme: unspecified]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "n/a",
      "product": "Nokogiri (ruby gem)",
      "versions": [
        {
          "status": "affected",
          "version": "Fixed in v1.10.4"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CVE Program Container",
      "references": [
        {
          "url": "https://hackerone.com/reports/650835",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/tenderlove/rexical/blob/master/CHANGELOG.rdoc",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://github.com/sparklemotion/nokogiri/issues/1915",
          "tags": [
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2019/09/msg00027.html",
          "name": "[debian-lts-announce] 20190926 [SECURITY] [DLA 1933-1] ruby-nokogiri security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "https://usn.ubuntu.com/4175-1/",
          "name": "USN-4175-1",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://security.gentoo.org/glsa/202006-05",
          "name": "GLSA-202006-05",
          "tags": [
            "vendor-advisory",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html",
          "name": "[debian-lts-announce] 20221012 [SECURITY] [DLA 3149-1] ruby-nokogiri security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        },
        {
          "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00019.html",
          "name": "[debian-lts-announce] 20221012 [SECURITY] [DLA 3150-1] rexical security update",
          "tags": [
            "mailing-list",
            "x_transferred"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "af854a3a-2127-422b-91ae-364da2661108",
        "shortName": "CVE",
        "dateUpdated": "2024-08-04T19:54:53.581Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-cr5j-953j-xw5p",
  "aliases": [
    "CVE-2019-5477"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.10.4"
            }
          ]
        }
      ],
      "package": {
        "name": "nokogiri",
        "purl": "pkg:gem/nokogiri",
        "ecosystem": "RubyGems"
      },
      "versions": [
        "1.0.0",
        "1.0.1",
        "1.0.2",
        "1.0.3",
        "1.0.4",
        "1.0.5",
        "1.0.6",
        "1.0.7",
        "1.1.0",
        "1.1.1",
        "1.10.0",
        "1.10.0.rc1",
        "1.10.1",
        "1.10.2",
        "1.10.3",
        "1.2.0",
        "1.2.1",
        "1.2.2",
        "1.2.3",
        "1.3.0",
        "1.3.1",
        "1.3.2",
        "1.3.3",
        "1.4.0",
        "1.4.1",
        "1.4.2",
        "1.4.2.1",
        "1.4.3",
        "1.4.3.1",
        "1.4.4",
        "1.4.4.1",
        "1.4.4.2",
        "1.4.5",
        "1.4.6",
        "1.4.7",
        "1.5.0",
        "1.5.0.beta.1",
        "1.5.0.beta.2",
        "1.5.0.beta.3",
        "1.5.0.beta.4",
        "1.5.1",
        "1.5.1.rc1",
        "1.5.10",
        "1.5.11",
        "1.5.2",
        "1.5.3",
        "1.5.3.rc2",
        "1.5.3.rc3",
        "1.5.3.rc4",
        "1.5.3.rc5",
        "1.5.3.rc6",
        "1.5.4",
        "1.5.4.rc1",
        "1.5.4.rc2",
        "1.5.4.rc3",
        "1.5.5",
        "1.5.5.rc1",
        "1.5.5.rc2",
        "1.5.5.rc3",
        "1.5.6",
        "1.5.6.rc1",
        "1.5.6.rc2",
        "1.5.6.rc3",
        "1.5.7",
        "1.5.7.rc1",
        "1.5.7.rc2",
        "1.5.7.rc3",
        "1.5.8",
        "1.5.9",
        "1.6.0",
        "1.6.0.rc1",
        "1.6.1",
        "1.6.2",
        "1.6.2.1",
        "1.6.2.rc1",
        "1.6.2.rc2",
        "1.6.2.rc3",
        "1.6.3",
        "1.6.3.1",
        "1.6.3.rc1",
        "1.6.3.rc2",
        "1.6.3.rc3",
        "1.6.4",
        "1.6.4.1",
        "1.6.5",
        "1.6.6.1",
        "1.6.6.2",
        "1.6.6.3",
        "1.6.6.4",
        "1.6.7",
        "1.6.7.1",
        "1.6.7.2",
        "1.6.7.rc2",
        "1.6.7.rc3",
        "1.6.7.rc4",
        "1.6.8",
        "1.6.8.1",
        "1.6.8.rc1",
        "1.6.8.rc2",
        "1.6.8.rc3",
        "1.7.0",
        "1.7.0.1",
        "1.7.1",
        "1.7.2",
        "1.8.0",
        "1.8.1",
        "1.8.2",
        "1.8.3",
        "1.8.4",
        "1.8.5",
        "1.9.0",
        "1.9.0.rc1",
        "1.9.1"
      ],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-cr5j-953j-xw5p/GHSA-cr5j-953j-xw5p.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-5477",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/sparklemotion/nokogiri/issues/1915",
      "type": "WEB"
    },
    {
      "url": "https://github.com/sparklemotion/nokogiri/commit/5d30128343573a9428c86efc758ba2c66e9f12dc",
      "type": "WEB"
    },
    {
      "url": "https://github.com/tenderlove/rexical/commit/a652474dbc66be350055db3e8f9b3a7b3fd75926",
      "type": "WEB"
    },
    {
      "url": "https://hackerone.com/reports/650835",
      "type": "WEB"
    },
    {
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-5477.yml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexical/CVE-2019-5477.yml",
      "type": "WEB"
    },
    {
      "url": "https://github.com/sparklemotion/nokogiri",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/tenderlove/rexical/blob/master/CHANGELOG.rdoc",
      "type": "WEB"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2019/09/msg00027.html",
      "type": "WEB"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html",
      "type": "WEB"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2022/10/msg00019.html",
      "type": "WEB"
    },
    {
      "url": "https://security.gentoo.org/glsa/202006-05",
      "type": "WEB"
    },
    {
      "url": "https://usn.ubuntu.com/4175-1",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-78"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "nvd_published_at": "2019-08-16T16:15:00Z",
    "github_reviewed_at": "2019-08-19T19:26:57Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryRubyGems / packagenokogiriNot a distribution channel1.10.4Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history