GHSA-5v7r-jg9r-vq44 json
Insecure Cryptography Algorithm in simple-crypto-js
published 6y ago modified 5y ago
- cvss
- 5.9
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm simple-crypto-js 2.3.0
Is GHSA-5v7r-jg9r-vq44 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | simple-crypto-js | <2.3.0 |
2.3.0 |
Classification
- Weakness
-
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
-
github.com
/danang-id/simple-crypto-js/pull/17
web
-
github.com
/danang-id/simple-crypto-js/commit/416584369de1dad9b21ac3fe85df0b71cf5718b2
web
-
github.com
/danang-id/simple-crypto-js/issues/12
web
-
github.com
/danang-id/simple-crypto-js
package
-
robertheaton.com
/2013/07/29/padding-oracle-attack
web
-
snyk.io
/vuln/SNYK-JS-SIMPLECRYPTOJS-544027
web
Sources
- GitHub Advisory GHSA-5v7r-jg9r-vq44
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.