9.3critical
lilconfig Code Injection vulnerability
- Severity
- 9.3critical CVSS:4.0 by snyk
- Exploit likelihood
- 1.13% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-fq9m-v26v-2m4f
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lilconfig | from 3.1.0 before 3.1.1 | CVE List |
| org.webjars.npm:lilconfig | from 3.1.0 before 3.1.1 | CVE List |
| antonk52 lilconfig | from 3.1.0 before 3.1.1 | CVE List |
| lilconfig (npm) | from 3.1.0 before 3.1.1 | GitHub Advisory Database |
All scores
| snyk | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| snyk | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las versiones del paquete lilconfig de la versión 3.1.0 y anteriores a la 3.1.1 son vulnerables a la ejecución de código arbitrario debido al uso inseguro de eval en la función dynamicImport. Un atacante puede aprovechar esta vulnerabilidad al pasar una entrada maliciosa a través de la función defaultLoaders.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21537 changed 2026-08-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fq9m-v26v-2m4f changed 2024-11-01 | CC-BY-4.0 |
| NVD | CVE-2024-21537 changed 2026-07-29 | Public domain |