CVE-2024-21537: lilconfig Code Injection vulnerability
(updated )
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.
References
- github.com/advisories/GHSA-fq9m-v26v-2m4f
- github.com/antonk52/lilconfig
- github.com/antonk52/lilconfig/commit/2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7
- github.com/antonk52/lilconfig/pull/48
- github.com/antonk52/lilconfig/releases/tag/v3.1.1
- nvd.nist.gov/vuln/detail/CVE-2024-21537
- security.snyk.io/vuln/SNYK-JS-LILCONFIG-6263789
Detect and mitigate CVE-2024-21537 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →