rpassword affected by partial password reveal when input is interrupted
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-200.
Summary
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^C > > Where the password I typed in is "hello". This has been fixed in version v7.5.0 and above.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | rpassword (crates.io) | before 7.5.0 | 7.5.0 | Patch available | GHSA-2p6r-x3vv-xqm2 |
- rpassword (crates.io) Vendor— Affected before 7.5.0 Fixed in 7.5.0 Patch available GHSA-2p6r-x3vv-xqm2
Remediation
- Fix · GHSA-2p6r-x3vv-xqm2 rpassword (crates.io) Fixed in 7.5.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-2p6r-x3vv-xqm2
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences