GHSA-2p6r-x3vv-xqm2 json
rpassword affected by partial password reveal when input is interrupted
published 6mo ago modified 2mo ago
- cvss
- 3.8
- 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
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.
Patch / fix
Is GHSA-2p6r-x3vv-xqm2 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 | 3.8 | CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | rpassword | <7.5.0 |
7.5.0 |
Classification
References
Sources
- GitHub Advisory GHSA-2p6r-x3vv-xqm2
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.