Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-21537

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-21537
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:49 UTC · Revision 1

Source evidence

CVE-2024-21537

core-osv · Original source

Published 31 Oct 2024, 05:00 UTC

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.

osv:CVE-2024-21537
Complete source record
{
  "id": "808ff6463a3fe739a7558077fb4d418e22300a8aef8db0f56de2a0060a171748",
  "url": "https://osv.dev/vulnerability/CVE-2024-21537",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-21537",
    "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.",
    "evidence": "osv:CVE-2024-21537",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-21537",
      "aliases": [
        "CVE-2024-21537",
        "GHSA-fq9m-v26v-2m4f"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/antonk52/lilconfig",
              "type": "GIT",
              "events": [
                {
                  "introduced": "20f03087709f969ce33472898f25fed3a6f889fe"
                },
                {
                  "fixed": "0157290f6d133b3deacee4a686e073905e0f86ca"
                },
                {
                  "fixed": "2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.1.0"
                      },
                      {
                        "fixed": "3.1.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0157290f6d133b3deacee4a686e073905e0f86ca"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v3.1.1"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21537.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.816220715Z",
      "provider": "osv",
      "references": [
        "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21537.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-21537",
        "https://github.com/antonk52/lilconfig/commit/2c68a1ab8764fc74acc46771e1ad39ab07a9b0a7",
        "https://github.com/antonk52/lilconfig/pull/48"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "snyk",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21537.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-21537",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490009,
  "published_at": "2024-10-31T05:00:03.948+00:00"
}