Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. node-expat
  4. ›
  5. CVE-2018-20843

CVE-2018-20843: Improper Restriction of XML External Entity Reference

June 24, 2019 (updated June 26, 2019)

libexpat in Expat, XML input including XML names that contain many colons could make the XML parser consume a high amount of RAM and CPU resources while processing, leading to a possible denial-of-service attack.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=5226
  • github.com/libexpat/libexpat/issues/186
  • nvd.nist.gov/vuln/detail/CVE-2018-20843

Code Behaviors & Features

Detect and mitigate CVE-2018-20843 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 2.2.7

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 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-611: Improper Restriction of XML External Entity Reference

Source file

npm/node-expat/CVE-2018-20843.yml

Spotted a mistake? Edit the file on GitLab.

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

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