Improper Verification of Cryptographic Signature Affecting password-store package, versions <1.7.2-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
4.43% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-PASSWORDSTORE-5691640
  • published15 Jun 2018
  • disclosed15 Jun 2018

Introduced: 15 Jun 2018

CVE-2018-12356  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade Debian:13 password-store to version 1.7.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream password-store package and not the password-store package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.