-
Notifications
You must be signed in to change notification settings - Fork 75
Bump rpassword to 7.5.2 #4161
Copy link
Copy link
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filemsrvUpgrading the Minimum Supported Rust Version (MSRV) is required for this change.Upgrading the Minimum Supported Rust Version (MSRV) is required for this change.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency filemsrvUpgrading the Minimum Supported Rust Version (MSRV) is required for this change.Upgrading the Minimum Supported Rust Version (MSRV) is required for this change.
Type
Fields
Give feedbackNo fields configured for issues without a type.
There is a security advisory for
rpasswordwhere entered password is revealed if it's been typed and the process isSIGKILLed.https://github.com/thin-edge/thin-edge.io/security/dependabot/39
We are affected by this in
tedge cert upload c8yandtedge cert download c8ycommands where we prompt for a password to the C8y account.This bug happens in
rpassword@7.4.0and the fix is in7.5.0. However,7.5.0also contains other features and bumps its MSRV, using features that have been stabilized in Rust 1.88 (1, 2), which is more recent than our MSRV of 1.85, so we can't update the dependency without changing our MSRV.Since
tedge cert download/uploadare rarely used commands and the issue is unlikely to happen in practice (Ctrl+C usesSIGINTwhich doesn't reveal the password, one would have to kill the process deliberately withSIGKILLorSIGTERM), we won't be prioritizing it and we'll upgrade the dependency if we decide to bump the MSRV of thin-edge.