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

CVE-2017-18258: Allocation of Resources Without Limits or Throttling

April 13, 2018 (updated September 7, 2021)

The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file.

References

  • git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb
  • github.com/advisories/GHSA-882p-jqgm-f45g
  • kc.mcafee.com/corporate/index?page=content&id=SB10284
  • lists.debian.org/debian-lts-announce/2018/09/msg00035.html
  • lists.debian.org/debian-lts-announce/2020/09/msg00009.html
  • nvd.nist.gov/vuln/detail/CVE-2017-18258
  • security.netapp.com/advisory/ntap-20190719-0001/
  • usn.ubuntu.com/3739-1/

Code Behaviors & Features

Detect and mitigate CVE-2017-18258 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.8.2

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

gem/nokogiri/CVE-2017-18258.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:18 +0000.