GHSA-2p6r-x3vv-xqm2: Rpassword Rpassword Affected By Partial Password Vulnerability
LOWGHSA-2p6r-x3vv-xqm2 is a LOW (CVSS 3.8) rpassword affected by partial password vulnerability (CWE-755: Improper Handling of Exceptional Conditions) affecting Rpassword libraries in the crates.io ecosystem. The issue involves rpassword affected by partial password reveal when input is interrupted. Remediation is available by upgrading affected packages to version 7.5.0.
GHSA-2p6r-x3vv-xqm2 at a Glance
Security Impact
CVSS: 3.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N).
How to Fix GHSA-2p6r-x3vv-xqm2
To remediate this vulnerability, upgrade all affected Rpassword dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rpassword to 7.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rpassword
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2p6r-x3vv-xqm2, inspect your project dependencies for Rpassword:
inspect dependencies for rpassword
Analyze the terminal output to locate any version of Rpassword in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.5.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-755: Improper Handling of Exceptional Conditions, where the product does not handle or incorrectly handles an exceptional condition. In Rpassword, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-2p6r-x3vv-xqm2 Affected Rpassword Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rpassword
|
crates.io |
< 7.5.0
|
7.5.0
|
References
Frequently Asked Questions
What is GHSA-2p6r-x3vv-xqm2?
Which Rpassword versions are affected?
What version fixes GHSA-2p6r-x3vv-xqm2?
Is rpassword affected?
What is the CVSS score of GHSA-2p6r-x3vv-xqm2?
What CWE is associated with GHSA-2p6r-x3vv-xqm2?
How can I check crates.io dependencies for GHSA-2p6r-x3vv-xqm2?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2p6r-x3vv-xqm2",
"modified" : "2026-05-06T21:49:34Z",
"published" : "2026-05-06T21:49:33Z",
"aliases" : [ ],
"summary" : "rpassword affected by partial password reveal when input is interrupted ",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:P/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "rpassword"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.5.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 7.4.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/conradkleinespel/rpassword/security/advisories/GHSA-2p6r-x3vv-xqm2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/conradkleinespel/rpassword"
}, {
"type" : "WEB",
"url" : "https://github.com/conradkleinespel/rpassword/releases/tag/v7.5.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-755" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-06T21:49:33Z",
"nvd_published_at" : null
}
}