Skip to main content
EPSS 1.1%top 36%

CVE-2024-21537: Arbitrary Code Execution in lilconfig

0
Critical
VulnerabilityCVE-2024-21537cvecve-2024-21537
Published: 10/31/2024 (10/31/2024, 05:00:03 UTC)
Source: CVE Database V5
Product: lilconfig

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.

CVSS v4.0

Score 9.3critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

lilconfig
pkg:npm/lilconfig
Affected versions
=3.1.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 14:43:22 UTC

Technical Analysis

CVE-2024-21537 affects the lilconfig package, specifically versions 3.1.0 and earlier up to but not including 3.1.1. The vulnerability is due to the unsafe use of eval in the dynamicImport function. An attacker can exploit this by providing crafted input to the defaultLoaders function, leading to arbitrary code execution. The CVSS 4.0 score is 9.3, indicating a critical severity with network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows remote attackers to execute arbitrary code on affected systems without requiring privileges or user interaction. This can lead to full compromise of the system running the vulnerable lilconfig version.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using vulnerable versions or restrict input to the defaultLoaders function to trusted sources only.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
snyk
Date Reserved
2023-12-22T12:33:20.123Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a6a1e569c2644c7f8b2d671

Added to database: 07/29/2026, 15:37:58 UTC

Last enriched: 08/17/2026, 14:43:22 UTC

Last updated: 09/11/2026, 22:06:27 UTC

Views: 43

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses