CVE-2018-12356
publishedpass: Improper parsing of GPG output allows attackers to spoof file signatures, read passwords and execute code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-storeaarch64 | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-storeppc64le | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-stores390x | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-storex86_64 | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-store-dmenuaarch64 | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-store-dmenuppc64le | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | password-store-dmenus390x | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | password-store-dmenux86_64 | Advisory build | 1.7.4-3.1 | OPENSUSE-SU-2024:11150-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- http://openwall.com/lists/oss-security/2018/06/14/3
- http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html
- 20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients http://seclists.org/fulldisclosure/2019/Apr/38
- [oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients) http://www.openwall.com/lists/oss-security/2019/04/30/4
- https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d
- https://github.com/RUB-NDS/Johnny-You-Are-Fired
- https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf
- https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5ecd85bb9eeb8ff37ba21a06feba0f22d5e76bacf060492cfc3701444ef5949b
- Ingested
- 23 Sep 2026, 07:43:34 UTC
- Source record
- Official CVE record