Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @cyclonedx/cyclonedx-library
  4. ›
  5. CVE-2024-34345

CVE-2024-34345: @cyclonedx/cyclonedx-library Improper Restriction of XML External Entity Reference vulnerability

May 8, 2024

XML External entity injections could be possible, when running the provided XML Validator on arbitrary input.

References

  • github.com/CycloneDX/cyclonedx-javascript-library
  • github.com/CycloneDX/cyclonedx-javascript-library/commit/5e5e1e0b9422f47d2de81c7c4064b803a01e7203
  • github.com/CycloneDX/cyclonedx-javascript-library/pull/1063
  • github.com/CycloneDX/cyclonedx-javascript-library/security/advisories/GHSA-38gf-rh2w-gmj7
  • github.com/advisories/GHSA-38gf-rh2w-gmj7
  • nvd.nist.gov/vuln/detail/CVE-2024-34345

Code Behaviors & Features

Detect and mitigate CVE-2024-34345 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 starting from 6.7.0 before 6.7.1, version 6.7.0

Fixed versions

  • 6.7.1

Solution

Upgrade to version 6.7.1 or above.

Impact 8.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

npm/@cyclonedx/cyclonedx-library/CVE-2024-34345.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:51 +0000.