org.mvnpm:pbkdf2@3.1.5

  • latest version

    3.1.7

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    2 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:pbkdf2 package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the pbkdf2 function in lib/sync.js, which passes the raw password to createHmac on every PBKDF2 iteration. Because HMAC rehashes any key longer than the digest's block size (per RFC 2104), a long password causes O(iterations × password_length) hash operations instead of O(iterations), allowing an attacker to trigger disproportionate CPU consumption by supplying a long password.

    Note: This is only exploitable via the pure-JS synchronous path used on Node.js < 0.12, Bun, Deno, or through direct imports of pbkdf2/lib/sync.

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.mvnpm:pbkdf2 to version 3.1.7 or higher.

    [,3.1.7)