Advisory

GHSA-5v7r-jg9r-vq44

Also known as: None

Summary

Insecure Cryptography Algorithm in simple-crypto-js

Details

Versions of simple-crypto-js prior to 2.3.0 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.

Recommendation

Upgrade to version 2.3.0 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-09-03 21:19 UTC
Modified
2021-09-29 20:08 UTC

Affected packages and fixes

simple-crypto-js

npm · All systems

Affected

  • introduced 0, fixed 2.3.0 (semver)

Fixed versions

2.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences