simple-crypto-js@2.0.2 vulnerabilities

Simplify AES encryption and decryption of any JavaScript objects, implementing crypto-js library.

  • latest version

    3.0.1

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the simple-crypto-js 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
    Insecure Cryptography Algorithm

    simple-crypto-js is a JavaScript library that simplify the process of encryption and decryption of JavaScript objects.

    Affected versions of this package are vulnerable to Insecure Cryptography Algorithm. Uses AES-CBC with PKCS#7 padding, which is vulnerable to padding oracle attacks. This may allow attackers to break the encryption and access sensitive data.

    How to fix Insecure Cryptography Algorithm?

    Upgrade simple-crypto-js to version 2.3.0 or higher.

    <2.3.0