CVE-2020-28086

NameCVE-2020-28086
Descriptionpass through 1.7.3 has a possibility of using a password for an unintended resource. For exploitation to occur, the user must do a git pull, decrypt a password, and log into a remote service with the password. If an attacker controls the central Git server or one of the other members' machines, and also controls one of the services already in the password store, they can rename one of the password files in the Git repository to something else: pass doesn't correctly verify that the content of a file matches the filename, so a user might be tricked into decrypting the wrong password and sending that to a service that the attacker controls. NOTE: for environments in which this threat model is of concern, signing commits can be a solution.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
password-store (PTS)jessie1.6.3-3vulnerable
stretch1.6.5-7vulnerable
buster, bullseye1.7.3-2vulnerable
bookworm1.7.4-6vulnerable
sid, trixie1.7.4-7vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
password-storesource(unstable)(unfixed)unimportant

Notes

https://lists.zx2c4.com/pipermail/password-store/2014-March/000498.html
Negligible security impact, where needed signing commits can be a solution, and
possible since https://git.zx2c4.com/password-store/commit/?id=9ef311d868248682a11c8cb8c0177bc9949be7b9

Search for package or bug name: Reporting problems