Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. simple-crypto-js
  4. ›
  5. GMS-2020-512

GMS-2020-512: Insecure Cryptography Algorithm in simple-crypto-js

September 3, 2020 (updated September 29, 2021)

Versions of simple-crypto-js use 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.

References

  • github.com/advisories/GHSA-5v7r-jg9r-vq44
  • github.com/danang-id/simple-crypto-js/issues/12
  • robertheaton.com/2013/07/29/padding-oracle-attack/
  • snyk.io/vuln/SNYK-JS-SIMPLECRYPTOJS-544027
  • www.npmjs.com/advisories/1220

Code Behaviors & Features

Detect and mitigate GMS-2020-512 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.3.0

Fixed versions

  • 2.3.0

Solution

Upgrade to version 2.3.0 or above.

Source file

npm/simple-crypto-js/GMS-2020-512.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:12 +0000.