Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. nokogiri
  4. ›
  5. CVE-2019-18197

CVE-2019-18197: Use After Free

October 18, 2019 (updated December 23, 2019)

In xsltCopyText in transform.c in libxslt, which is used by nokogiri, a pointer variable isn’t reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.

References

  • nvd.nist.gov/vuln/detail/CVE-2019-18197

Code Behaviors & Features

Detect and mitigate CVE-2019-18197 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.10.5

Fixed versions

  • 1.10.5

Solution

Upgrade to version 1.10.5 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free
  • CWE-908: Use of Uninitialized Resource

Source file

gem/nokogiri/CVE-2019-18197.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 12:16:03 +0000.