CVE-2024-29409 json
nest allows a remote attacker to execute arbitrary code via the Content-Type header
published 2025-03-14 19 mo ago modified 2026-06-17 4 mo ago also GHSA-cj7v-w2c7-cp7c , EUVD-2024-26416
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.
Patch / fix
- npm @nestjs/common 10.4.16, 11.0.16
- github.com/nestjs/nest#14881 pull request
- github.com/nestjs/nest/releases/tag/v10.4.16 release
- github.com/nestjs/nest/releases/tag/v11.0.16 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495 referenced PoC, tagged "exploit" by a source, unverified
- gist.github.com https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @nestjs/common | >=11.0.0-next.1, <11.0.16 <10.4.16 |
11.0.16 10.4.16 |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/nestjs/nest/pull/14881
web
-
github.com
/nestjs/nest/issues/13311#issuecomment-1993839495
web, exploit, issue-tracking
-
gist.github.com
/aydinnyunus/801342361584d1491c67a820a714f53f
web, exploit, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-29409
advisory
-
github.com
/nestjs/nest/issues/14876
web
-
github.com
/nestjs/nest/issues/14876#issuecomment-2796888038
web
-
github.com
/nestjs/nest
package
-
github.com
/nestjs/nest/blob/83a48b2c7396985144b7a6cd5d3bee1abb7c5d81/packages/common/pipes/file/file-type.validator.ts#L
web
-
github.com
/nestjs/nest/releases/tag/v10.4.16
web
-
github.com
/nestjs/nest/releases/tag/v11.0.16
web
Sources
- CVE List CVE-2024-29409
- GitHub Advisory GHSA-cj7v-w2c7-cp7c
- NVD CVE-2024-29409
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.