Insecure Encryption Affecting github.com/gopasspw/gopass/internal/tpl package, versions <1.11.0


0.0
medium

Snyk CVSS

    Attack Complexity High
    Privileges Required High
    Scope Changed
    Confidentiality High

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 ID SNYK-GOLANG-GITHUBCOMGOPASSPWGOPASSINTERNALTPL-1061912
  • published 18 Jan 2021
  • disclosed 18 Jan 2021
  • credit Yolan Romailler

Introduced: 18 Jan 2021

CVE NOT AVAILABLE CWE-326 Open this link in a new tab

How to fix?

Upgrade github.com/gopasspw/gopass/internal/tpl to version 1.11.0 or higher.

Overview

github.com/gopasspw/gopass/internal/tpl is an a password manager for the command line.

Affected versions of this package are vulnerable to Insecure Encryption. Salted hash functions used in the templates are using only 4 bytes of random salt, which can lead to them being brute-forced.