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

CVE-2017-16932: Infinite recursion in parameter entities

November 23, 2017 (updated October 2, 2019)

The library libxml2, which is included in nokogiri, incorrectly handles certain parameter entities. An attacker can leverage this with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service.

References

  • cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16932
  • github.com/sparklemotion/nokogiri/issues/1714
  • people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-16932.html
  • usn.ubuntu.com/usn/usn-3504-1/

Code Behaviors & Features

Detect and mitigate CVE-2017-16932 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.8.1

Fixed versions

  • 1.8.1

Solution

Upgrade to version 1.8.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

gem/nokogiri/CVE-2017-16932.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:08 +0000.