Advisory

GHSA-27v7-qhfv-rqq8

Also known as: None

Summary

Insecure Credential Storage in web3

Details

All versions of web3 are vulnerable to Insecure Credential Storage. The package stores encrypted wallets in local storage and requires a password to load the wallet. Once the wallet is loaded, the private key is accessible via LocalStorage. Exploiting this vulnerability likely requires a Cross-Site Scripting vulnerability to access the private key.

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2019-05-30 17:26 UTC
Modified
2021-08-31 20:56 UTC

Affected packages and fixes

web3

npm · All systems

Affected

  • introduced 0, last affected 1.5.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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