high8.8
CVE-2024-21537
lilconfig Code Injection vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | lilconfig | >= 3.1.0, < 3.1.1 | 3.1.1 |
Affected products
| Product | Affected versions |
|---|---|
| Package Lilconfig From 3.1.0 And | before 3.1.1 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/antonk52/lilconfig/commit/2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7
- https://github.com/antonk52/lilconfig/pull/48
- https://github.com/antonk52/lilconfig/releases/tag/v3.1.1
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-8323736
- https://security.snyk.io/vuln/SNYK-JS-LILCONFIG-6263789
- https://github.com/advisories/GHSA-fq9m-v26v-2m4f
- https://nvd.nist.gov/vuln/detail/CVE-2024-21537