Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-36574: n/a

0
Medium
VulnerabilityCVE-2024-36574cvecve-2024-36574
Published: Mon Jun 17 2024 (06/17/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

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)

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 03:28:20 UTC

Technical Analysis

CVE-2024-36574 identifies a prototype pollution vulnerability in the flatten-json library, version 1.0.1, specifically within the unflattenJSON function located in flatten-json/index.js at line 42. Prototype pollution occurs when an attacker can manipulate the __proto__ property or similar prototype chain references, allowing them to inject or alter properties on JavaScript objects globally. This can lead to unexpected behavior, including arbitrary code execution, denial of service, or privilege escalation. The vulnerability requires the attacker to have some level of privileges (PR:L) but does not require user interaction (UI:N), and it can be exploited remotely (AV:N). The CVSS vector indicates low attack complexity (AC:L) and impacts confidentiality, integrity, and availability to a limited extent (C:L/I:L/A:L). While no exploits are currently known in the wild, the risk remains significant due to the widespread use of flatten-json in Node.js applications for JSON data manipulation. The vulnerability is classified under CWE-1321, which relates to improper handling of prototype pollution. Without a patch currently available, the threat remains active for users of the affected version.

Potential Impact

The impact of this vulnerability can be substantial for organizations relying on flatten-json 1.0.1 in their software stacks. Prototype pollution can allow attackers to alter application logic, bypass security controls, or execute arbitrary code, potentially leading to data breaches, service disruptions, or further compromise of internal systems. Since flatten-json is used in JSON data processing, applications that parse or transform JSON data from untrusted sources are particularly at risk. The vulnerability affects confidentiality by potentially exposing sensitive data, integrity by allowing unauthorized data manipulation, and availability by enabling denial-of-service conditions. Organizations with Node.js-based applications, especially those exposed to external inputs or operating in multi-tenant environments, face elevated risks. The absence of known exploits currently provides a window for proactive mitigation, but the medium severity score indicates that exploitation is feasible and impactful enough to warrant immediate attention.

Mitigation Recommendations

To mitigate CVE-2024-36574, organizations should first monitor for an official patch or updated version of flatten-json that addresses the prototype pollution issue and apply it promptly. In the interim, developers should implement strict input validation and sanitization to prevent malicious payloads from influencing the prototype chain, especially when processing JSON data from untrusted sources. Employing runtime protections such as object freezing or using libraries that prevent prototype pollution can reduce risk. Additionally, sandboxing or running vulnerable components with least privilege can limit the impact of a successful exploit. Security teams should audit dependencies to identify usage of flatten-json 1.0.1 and assess exposure. Incorporating static and dynamic analysis tools to detect prototype pollution patterns during development and testing phases can help prevent introduction of similar vulnerabilities. Finally, monitoring application logs and behavior for anomalies related to object manipulation can aid in early detection of exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-05-30T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c5fb7ef31ef0b5636f3

Added to database: 2/25/2026, 9:40:47 PM

Last enriched: 2/28/2026, 3:28:20 AM

Last updated: 4/12/2026, 6:13:14 PM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses