{"id":"GHSA-2p6r-x3vv-xqm2","aliases":["GHSA-2p6r-x3vv-xqm2"],"related":[],"kind":"vulnerability","state":"published","title":"rpassword affected by partial password reveal when input is interrupted","summary":"rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.\n\nTo quote @squell:\n\n> @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.:\n>\n> Suppose we use pkill -9 sq in a different terminal right after the password has been typed in:\n>\n> $ sq key generate --userid \"barf\" --with-password\n> Enter password to protect the key: Killed\n> $ hello^C\n>\n> Where the password I typed in is \"hello\".\n\nThis has been fixed in version v7.5.0 and above.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"rpassword maintainers were made aware of a possible issue with a partial password reveal when input is interrupted.\n\nTo quote @squell:\n\n> @conradkleinespel I've confirmed this problem with SequoiaPGP, which I think uses rpassword, e.g.:\n>\n> Suppose we use pkill -9 sq in a different terminal right after the password has been typed in:\n>\n> $ sq key generate --userid \"barf\" --with-password\n> Enter password to protect the key: Killed\n> $ hello^C\n>\n> Where the password I typed in is \"hello\".\n\nThis has been fixed in version v7.5.0 and above.","format":"markdown","source":"ghsa"}],"published":"2026-05-06T21:49:33.000Z","modified":"2026-09-10T03:51:04.143Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","score":3.8,"rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N","score":3.8,"rating":"LOW"}],"cwes":["CWE-200","CWE-755"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.5.0"}],"ecosystem":"crates.io","package":"rpassword","purl":"pkg:cargo/rpassword","source":"ghsa"}],"references":[{"url":"https://github.com/conradkleinespel/rpassword/security/advisories/GHSA-2p6r-x3vv-xqm2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/conradkleinespel/rpassword","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/conradkleinespel/rpassword/releases/tag/v7.5.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2p6r-x3vv-xqm2","url":"https://github.com/advisories/GHSA-2p6r-x3vv-xqm2","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:04.143Z"}],"updatedAt":"2026-11-25T22:56:42.143Z"}