Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. eazy-logger
  4. ›
  5. CVE-2024-57075

CVE-2024-57075: eazy-logger prototype pollution

February 6, 2025 (updated April 7, 2025)

A prototype pollution in the lib.Logger function of eazy-logger v4.0.1 allows attackers to cause a Denial of Service (DoS) via supplying a crafted payload.

An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.

Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., child_process.exec, eval), it could enable an attacker to execute arbitrary commands within the application’s context.

References

  • gist.github.com/tariqhawis/c601f7f85146510ca899a7406a03aba5
  • github.com/advisories/GHSA-r7jx-5m6m-cpg9
  • github.com/shakyShane/eazy-logger
  • github.com/shakyShane/eazy-logger/commit/a8baa6fe441d19ffa9916eba367016b7937a28fd
  • nvd.nist.gov/vuln/detail/CVE-2024-57075

Code Behaviors & Features

Detect and mitigate CVE-2024-57075 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 4.1.0

Fixed versions

  • 4.1.0

Solution

Upgrade to version 4.1.0 or above.

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')
  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/eazy-logger/CVE-2024-57075.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:52 +0000.