GHSA-5wg4-74h6-q47v

    Dashboard / Vulnerabilities / GHSA-5wg4-74h6-q47v

    GHSA-5wg4-74h6-q47v

    Published: 20 Aug 2020Last Modified: 8 Jul 2026

    Summary: Integer Overflow or Wraparound and Use of a Broken or Risky Cryptographic Algorithm in bcrypt

    Details: In bcrypt (npm package) before version 5.0.0, data is truncated wrong when its length is greater than 255 bytes.

    Affected packages

    Package

    Name: bcrypt

    Purl: pkg:npm/bcrypt

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -5.0.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High