GHSA-2p6r-x3vv-xqm2 rpassword affected by partial password reveal when input is interrupted
LowCVSS 3.8
- Published
- Updated
- Exploit status
- No public exploit known
Description
rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.
To quote @squell:
@conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.:
Suppose we use pkill -9 sq in a different terminal right after the password has been typed in:
$ sq key generate --userid "barf" --with-password
Enter password to protect the key: Killed
$ hello^CWhere the password I typed in is "hello".
This has been fixed in version v7.5.0 and above.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io rpassword(crates.io) | < 7.5.0; <= 7.4.0 | 7.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io rpassword(crates.io) | < 7.5.0 | 7.5.0 |
| crates.io rpassword(crates.io) | <= 7.4.0 | No fix listed |
References
- github.com vendor-advisory
- github.com product
- github.com
- github.com