Name | CVE-2018-12356 |
Description | An issue was discovered in password-store.sh in pass in Simple Password Store 1.7.x before 1.7.2. The signature verification routine parses the output of GnuPG with an incomplete regular expression, which allows remote attackers to spoof file signatures on configuration files and extension scripts. Modifying the configuration file allows the attacker to inject additional encryption keys under their control, thereby disclosing passwords to the attacker. Modifying the extension scripts allows the attacker arbitrary code execution. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 901574 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
password-store (PTS) | jessie | 1.6.3-3 | fixed |
stretch | 1.6.5-7 | fixed | |
buster, bullseye | 1.7.3-2 | fixed | |
bookworm | 1.7.4-6 | fixed | |
sid, trixie | 1.7.4-7 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
password-store | source | jessie | (not affected) | |||
password-store | source | stretch | (not affected) | |||
password-store | source | (unstable) | 1.7.2-1 | 901574 |
[stretch] - password-store <not-affected> (Signature verification support added in 1.7)
[jessie] - password-store <not-affected> (Signature verification support added in 1.7)
https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html
Introduced in: https://git.zx2c4.com/password-store/commit/?id=ff62f87f41557ab7267defab662324927301485a
Fixed by: https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d
https://neopg.io/blog/pass-signature-spoof/
https://www.openwall.com/lists/oss-security/2018/06/14/3