CVE Radar Logo
CVERadar
CVE Radar Logo
CVERadar

CVE-2024-29409

Medium Severity
Nestjs
SVRS
38/100

CVSSv3
5.5/10

EPSS
0.00114/1

CVE-2024-29409 is a file upload vulnerability found in nestjs nest v.10.3.2. This allows attackers to run any code they want on the system remotely by manipulating the Content-Type header. While the CVSS score is 5.5, the SOCRadar Vulnerability Risk Score (SVRS) is 38, indicating a moderate risk and suggesting monitoring and patching. Despite the moderate SVRS, the vulnerability's presence "In The Wild" elevates the urgency. Successful exploitation could lead to arbitrary code execution, potentially compromising the entire system. This CVE highlights the importance of proper input validation and secure file handling practices in web applications using nestjs. Organizations using affected versions should prioritize patching or implementing mitigations to prevent exploitation of this vulnerability and potential data breaches.

In The Wild
CVSS:3.1
AV:N
AC:L
PR:L
UI:R
S:U
C:L
I:L
A:L
2025-03-14

2025-04-03
Eye Icon
SOCRadar
AI Insight

Description

CVE-2024-29409 is a File Upload vulnerability affecting nestjs nest version 10.3.2. It allows a remote attacker to execute arbitrary code through manipulation of the Content-Type header during file upload processes. The SOCRadar Vulnerability Risk Score (SVRS) for this vulnerability is 38, suggesting a moderate level of risk. While not critical, it still warrants attention and proactive mitigation.

Key Insights

  • Arbitrary Code Execution: The primary threat is the potential for remote attackers to execute arbitrary code on the affected system. This can lead to complete system compromise, data theft, or disruption of services.
  • Content-Type Header Exploitation: The vulnerability hinges on the ability to manipulate the Content-Type header during file uploads. This suggests that the application is not properly validating or sanitizing the content type, allowing malicious actors to inject executable code.
  • Specific Software Version: The vulnerability is specific to nestjs nest version 10.3.2. Organizations using this version are particularly at risk.

Mitigation Strategies

  • Upgrade nestjs nest: The most effective mitigation is to update to a patched version of nestjs nest where this vulnerability has been addressed. Check the official nestjs documentation and release notes for the latest secure version.
  • Content-Type Validation: Implement strict validation of the Content-Type header during file uploads. Ensure that only allowed content types are accepted and that the application properly handles unexpected or malicious content types.
  • File Sanitization: Implement robust file sanitization and validation mechanisms. Scan uploaded files for malicious code or scripts before they are stored or processed by the application. Consider using a dedicated file scanning library or service.

Additional Information

If users have additional queries regarding this incident, they can use the 'Ask to Analyst' feature, contact SOCRadar directly, or open a support ticket for more information if necessary.

Indicators of Compromise

No IOCs found for this CVE

Exploits

No exploits found for this CVE

Enhance Your CVE Management with SOCRadar Vulnerability Intelligence
Get comprehensive CVE details, real-time notifications, and proactive threat management all in one platform.
CVE Details
Access comprehensive CVE information instantly
Real-time Tracking
Subscribe to CVEs and get instant updates
Exploit Analysis
Monitor related APT groups and threats
IOC Tracking
Analyze and track CVE-related IOCs

News

CVE-2024-29409 | nestjs nest 10.3.2 Header Content-Type unrestricted upload (Issue 13311)
vuldb.com2025-03-15
CVE-2024-29409 | nestjs nest 10.3.2 Header Content-Type unrestricted upload (Issue 13311) | A vulnerability was found in nestjs nest 10.3.2. It has been rated as critical. This issue affects some unknown processing of the component Header Handler. The manipulation of the argument Content-Type leads to unrestricted upload. The identification of this vulnerability is CVE-2024-29409
vuldb.com
rss
forum
news

Social Media

CVE-2024-29409 File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header. https://t.co/0nvsIES92y
0
0
4

Affected Software

Configuration 1
TypeVendorProduct
AppNestjsnest

References

ReferenceLink
GITHUBhttps://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f
[email protected]https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f
[email protected]https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495

CWE Details

CWE IDCWE NameDescription
CWE-94Improper Control of Generation of Code ('Code Injection')The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE Radar

Real-time CVE Intelligence & Vulnerability Management Platform

CVE Radar provides comprehensive vulnerability intelligence by monitoring CVE databases, security advisories, and threat feeds. Get instant updates on new vulnerabilities, exploit details, and mitigation strategies specific to your assets.

Get Free Vulnerability Intelligence AccessAccess real-time CVE monitoring, exploit analysis, and threat intelligence