CVE-2024-21537 json
lilconfig Code Injection vulnerability
published 2024-10-31 2 y ago modified 2026-08-17 2 mo ago also GHSA-fq9m-v26v-2m4f , EUVD-2024-3040
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm lilconfig 3.1.1
- n/a lilconfig 3.1.1
- n/a org.webjars.npm:lilconfig 3.1.1
- antonk52 lilconfig 3.1.1
- github.com/antonk52/lilconfig@2c68a1a commit
- github.com/antonk52/lilconfig#48 pull request
- github.com/antonk52/lilconfig/releases/tag/v3.1.1 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.13% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 4.0 | 8.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | lilconfig | >=3.1.0, <3.1.1 |
3.1.1 |
Affected products
- n/a lilconfig
- n/a org.webjars.npm:lilconfig
- antonk52 lilconfig
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/antonk52/lilconfig/pull/48
web
-
github.com
/antonk52/lilconfig/commit/2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7
web
-
security.snyk.io
/vuln/SNYK-JS-LILCONFIG-6263789
web
- security.snyk.io /vuln/SNYK-JAVA-ORGWEBJARSNPM-8323736
-
github.com
/antonk52/lilconfig/releases/tag/v3.1.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-21537
advisory
-
github.com
/antonk52/lilconfig
package
Sources
- CVE List CVE-2024-21537
- GitHub Advisory GHSA-fq9m-v26v-2m4f
- NVD CVE-2024-21537
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.