Code injection in nestjs nest



Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-29409
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
nest
Server applications / Frameworks for developing and running applications

Vendor nestjs

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Code Injection

EUVDB-ID: #VU111977

Risk: Low

CVSSv4.0: 1.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2024-29409

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The vulnerability allows a remote user to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote user can send a specially crafted request and execute arbitrary code via the Content-Type header on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

nest: 10.0.0 - 10.3.2

CPE2.3 External links

https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f
https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###