CVE-2024-21537
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.
Severity
HIGH
CVSS v3
8.8
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P · source cna
CVSS v4
9.3
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 · source cna
Exploit chance (EPSS)
1.130%
chance of exploitation in the next 30 days
higher than 67% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2024-10-31 |
Timeline
- 2024-10-31Published by the CNA05:00 UTC
- 2024-10-31GitHub advisory published (GHSA-fq9m-v26v-2m4f)same day
- 2024-10-31CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-fq9m-v26v-2m4f, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm lilconfig | from 3.1.0 before 3.1.1 | 3.1.1 |
References
- 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
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-21537'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-21537'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-21537'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-21537'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).