Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @allanlancioni/flatten-json
  4. ›
  5. CVE-2024-36574

CVE-2024-36574: flatten-json Prototype Pollution

June 17, 2024

A Prototype Pollution issue in flatten-json 1.0.1 allows an attacker to execute arbitrary code via module.exports.unflattenJSON (flatten-json/index.js:42)

References

  • gist.github.com/mestrtee/d5a0c93459599f77557b5bbe78b57325
  • github.com/AllanLancioni/flatten-json
  • github.com/advisories/GHSA-j8px-pjmp-325f
  • nvd.nist.gov/vuln/detail/CVE-2024-36574

Code Behaviors & Features

Detect and mitigate CVE-2024-36574 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 up to 1.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

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

Source file

npm/@allanlancioni/flatten-json/CVE-2024-36574.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:11 +0000.