CVE-2024-21537
JSON

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 packageVersionsReported by
lilconfigfrom 3.1.0 before 3.1.1CVE List
org.webjars.npm:lilconfigfrom 3.1.0 before 3.1.1CVE List
antonk52 lilconfigfrom 3.1.0 before 3.1.1CVE List
lilconfig (npm)from 3.1.0 before 3.1.1GitHub Advisory Database

All scores

snyk9.3critical CVSS:4.0CVSS: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
snyk8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS: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

CWE-94

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

SourceRecordLicence
CVE ListCVE-2024-21537 changed 2026-08-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-fq9m-v26v-2m4f changed 2024-11-01CC-BY-4.0
NVDCVE-2024-21537 changed 2026-07-29Public domain