cve/2024/CVE-2024-21537.md

18 lines
803 B
Markdown
Raw Normal View History

2025-09-29 16:08:36 +00:00
### [CVE-2024-21537](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21537)
![](https://img.shields.io/static/v1?label=Product&message=lilconfig&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=3.1.0%3C%203.1.1%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Arbitrary%20Code%20Execution&color=brighgreen)
### Description
Versions of the package lilconfig from 3.1.0 and before 3.1.1 are vulnerable to Arbitrary Code Execution due to the insecure usage of eval in the dynamicImport function. An attacker can exploit this vulnerability by passing a malicious input through the defaultLoaders function.
### POC
#### Reference
- https://security.snyk.io/vuln/SNYK-JS-LILCONFIG-6263789
#### Github
No PoCs found on GitHub currently.