Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. module-from-string
  4. ›
  5. CVE-2024-57072

CVE-2024-57072: module-from-string prototype pollution

February 6, 2025

A prototype pollution in the lib.requireFromString function of module-from-string v3.3.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

References

  • gist.github.com/tariqhawis/8b1fe301dd1ea52952cef347daddee67
  • github.com/advisories/GHSA-q5j8-9m9g-x2jh
  • github.com/exuanbo/module-from-string
  • nvd.nist.gov/vuln/detail/CVE-2024-57072

Code Behaviors & Features

Detect and mitigate CVE-2024-57072 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 up to 3.3.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/module-from-string/CVE-2024-57072.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:58 +0000.