{"api_version":"1","generated_at":"2026-07-23T09:34:42+00:00","cve":"CVE-2018-12356","urls":{"html":"https://cve.report/CVE-2018-12356","api":"https://cve.report/api/cve/CVE-2018-12356.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2018-12356","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12356"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2018-06-15 02:29:00","updated_at":"2019-05-16 18:29:00"},"problem_types":["CWE-347"],"metrics":[],"references":[{"url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf","name":"https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf","refsource":"MISC","tags":[],"title":"Johnny-You-Are-Fired/johnny-fired.pdf at master · RUB-NDS/Johnny-You-Are-Fired · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d","name":"https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"password-store - Simple password manager using gpg and ordinary unix directories.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired","name":"https://github.com/RUB-NDS/Johnny-You-Are-Fired","refsource":"MISC","tags":[],"title":"GitHub - RUB-NDS/Johnny-You-Are-Fired: Artifacts for the USENIX publication.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2019/04/30/4","name":"[oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients)","refsource":"MLIST","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://openwall.com/lists/oss-security/2018/06/14/3","name":"http://openwall.com/lists/oss-security/2018/06/14/3","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - CVE-2018-12356 Breaking signature verification in pass (Simple\n Password Store)","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html","name":"http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html","refsource":"MISC","tags":["Third Party Advisory","VDB Entry"],"title":"Johnny You Are Fired ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html","name":"https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html","refsource":"MISC","tags":["Mailing List","Third Party Advisory"],"title":"Security Vulnerability: Faulty GPG Signature Checking","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2019/Apr/38","name":"20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients","refsource":"FULLDISC","tags":["Mailing List","Third Party Advisory"],"title":"Full Disclosure: OpenPGP and S/MIME signature forgery attacks in multiple email clients","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12356","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12356","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2018","cve_id":"12356","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"simple_password_store_project","cpe5":"simple_password_store","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2018","cve_id":"12356","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"simple_password_store_project","cpe5":"simple_password_store","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-12356","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d","refsource":"MISC","url":"https://git.zx2c4.com/password-store/commit/?id=8683403b77f59c56fcb1f05c61ab33b9fd61a30d"},{"name":"http://openwall.com/lists/oss-security/2018/06/14/3","refsource":"MISC","url":"http://openwall.com/lists/oss-security/2018/06/14/3"},{"name":"https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html","refsource":"MISC","url":"https://lists.zx2c4.com/pipermail/password-store/2018-June/003308.html"},{"refsource":"MLIST","name":"[oss-security] 20190430 Spoofing OpenPGP and S/MIME Signatures in Emails (multiple clients)","url":"http://www.openwall.com/lists/oss-security/2019/04/30/4"},{"refsource":"FULLDISC","name":"20190430 OpenPGP and S/MIME signature forgery attacks in multiple email clients","url":"http://seclists.org/fulldisclosure/2019/Apr/38"},{"refsource":"MISC","name":"http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html","url":"http://packetstormsecurity.com/files/152703/Johnny-You-Are-Fired.html"},{"refsource":"MISC","name":"https://github.com/RUB-NDS/Johnny-You-Are-Fired","url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired"},{"refsource":"MISC","name":"https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf","url":"https://github.com/RUB-NDS/Johnny-You-Are-Fired/blob/master/paper/johnny-fired.pdf"}]}},"nvd":{"publishedDate":"2018-06-15 02:29:00","lastModifiedDate":"2019-05-16 18:29:00","problem_types":["CWE-347"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:simple_password_store_project:simple_password_store:*:*:*:*:*:*:*:*","versionStartIncluding":"1.7.0","versionEndExcluding":"1.7.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2018","CveId":"12356","Ordinal":"128874","Title":"CVE-2018-12356","CVE":"CVE-2018-12356","Year":"2018"},"notes":[{"CveYear":"2018","CveId":"12356","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2018","CveId":"12356","Ordinal":"2","NoteData":"2018-06-14","Type":"Other","Title":"Published"},{"CveYear":"2018","CveId":"12356","Ordinal":"3","NoteData":"2019-05-16","Type":"Other","Title":"Modified"}]}}}