GHSA-7CFR-5CJF-32P4

Vulnerability from github – Published: 2025-05-16 06:30 – Updated: 2025-05-16 21:45
VLAI?
Summary
lockfile-lint-api Vulnerable to Incorrect Behavior Order
Details

Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "lockfile-lint-api"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.9.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-4759"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-179"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-16T21:45:31Z",
    "nvd_published_at": "2025-05-16T05:15:38Z",
    "severity": "MODERATE"
  },
  "details": "Versions of the package lockfile-lint-api before 5.9.2 are vulnerable to Incorrect Behavior Order: Early Validation via the resolved attribute of the package URL validation which can be bypassed by extending the package name allowing an attacker to install other npm packages than the intended one.",
  "id": "GHSA-7cfr-5cjf-32p4",
  "modified": "2025-05-16T21:45:31Z",
  "published": "2025-05-16T06:30:24Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-4759"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lirantal/lockfile-lint/pull/204"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lirantal/lockfile-lint/commit/9e5305bd3e4f0c6acc0d23ec43eac2bd5303b4ca"
    },
    {
      "type": "WEB",
      "url": "https://gist.github.com/Xavier59/881aef04940970dc3e738dcbff64151f"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/lirantal/lockfile-lint"
    },
    {
      "type": "WEB",
      "url": "https://github.com/lirantal/lockfile-lint/blob/89b5cad028df4d77bab2b73ac93bc61e392668ab/packages/lockfile-lint-api/src/validators/ValidatePackageNames.js#L51-L63"
    },
    {
      "type": "WEB",
      "url": "https://security.snyk.io/vuln/SNYK-JS-LOCKFILELINTAPI-10169587"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "lockfile-lint-api Vulnerable to Incorrect Behavior Order"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…