CVE-2024-21537
published critical CVSS 4.0 · 9.3lilconfig vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- snyk · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | snyk · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | lilconfig | 3.1.0 to < 3.1.1 (affected · semver) | snyk · cna |
| n/a | org.webjars.npm:lilconfig | 3.1.0 to < 3.1.1 (affected · semver) | snyk · cna |
| antonk52 | lilconfig | 3.1.0 to < 3.1.1 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 Arbitrary Code Execution
References
5- 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
Provider assertions
2snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c85d082a2eb052249439d31169f9d8e4a0aef201789176c70a08d345a6acab9d
- Ingested
- 23 Sep 2026, 08:19:02 UTC
- Source record
- Official CVE record