Skip to content
Heist/ feed
Back to feed
High

gokey — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-13353

In gokey versions <0.2.0, a flaw in the seed decryption logic resulted in passwords incorrectly being derived solely from the initial vector and the AES-GCM authentication tag of the key seed. This issue has been fixed in gokey version 0.2.0. This is a breaking change. The fix has invalidated any passwords/secrets that were derived from the seed file (using the -s option). Even if the input seed file stays the same, version 0.2.0 gokey will generate different secrets. Impact This vulnerability impacts generated keys/secrets using a seed file as an entropy input (using the -s option). Keys/secrets generated just from the master password (without the -s option) are not impacted. The confidentiality of the seed itself is also not impacted (it is not required to regenerate the seed itself). Specific impact includes: * keys/secrets generated from a seed file may have lower entropy: it was expected that the whole seed would be used to generate keys (240 bytes of entropy input), where in vulnerable versions only 28 bytes was used * a malicious entity could have recovered all passwords, generated from a particular seed, having only the seed file in possession without the knowledge of the seed master password Patches The code logic bug has been fixed in gokey version 0.2.0 and above. Due to the deterministic nature of gokey, fixed versions will produce different passwords/secrets using seed files, as all seed entropy will be used now. System secret rotation guidance It is advised for

Products
gokey
Affected versions
0.1.0-1, 0.1.0-1build2, 0.1.2-1build1, 0.1.2-1build2, 0.1.2-1ubuntu0.24.04.1, 0.1.2-1ubuntu0.24.04.2, 0.1.2-1ubuntu0.24.04.3, 0.2.0-1, 0.2.0-1ubuntu0.26.04.1~esm1
Fixed versions
Not specified
CVEs
CVE-2025-13353
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:24 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-13353

core-osv · Original source

Published 2 Dec 2025, 11:15 UTC

In gokey versions <0.2.0, a flaw in the seed decryption logic resulted in passwords incorrectly being derived solely from the initial vector and the AES-GCM authentication tag of the key seed. This issue has been fixed in gokey version 0.2.0. This is a breaking change. The fix has invalidated any passwords/secrets that were derived from the seed file (using the -s option). Even if the input seed file stays the same, version 0.2.0 gokey will generate different secrets. Impact This vulnerability impacts generated keys/secrets using a seed file as an entropy input (using the -s option). Keys/secrets generated just from the master password (without the -s option) are not impacted. The confidentiality of the seed itself is also not impacted (it is not required to regenerate the seed itself). Specific impact includes: * keys/secrets generated from a seed file may have lower entropy: it was expected that the whole seed would be used to generate keys (240 bytes of entropy input), where in vulnerable versions only 28 bytes was used * a malicious entity could have recovered all passwords, generated from a particular seed, having only the seed file in possession without the knowledge of the seed master password Patches The code logic bug has been fixed in gokey version 0.2.0 and above. Due to the deterministic nature of gokey, fixed versions will produce different passwords/secrets using seed files, as all seed entropy will be used now. System secret rotation guidance It is advised for

osv:UBUNTU-CVE-2025-13353

gokey

Fixed versions: Not specified

gokey

Fixed versions: Not specified

gokey

Fixed versions: Not specified

gokey

Fixed versions: Not specified

gokey

Fixed versions: Not specified

gokey

Fixed versions: Not specified

Complete source record
{
  "id": "caf2078d4860ee96c045aa64cbf23e19cfa754ce2e9641b93dacd248cd5c2e7c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-13353",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-13353",
    "summary": "In gokey versions <0.2.0, a flaw in the seed decryption logic resulted in passwords incorrectly being derived solely from the initial vector and the AES-GCM authentication tag of the key seed. This issue has been fixed in gokey version 0.2.0. This is a breaking change. The fix has invalidated any passwords/secrets that were derived from the seed file (using the -s option). Even if the input seed file stays the same, version 0.2.0 gokey will generate different secrets. Impact This vulnerability impacts generated keys/secrets using a seed file as an entropy input (using the -s option). Keys/secrets generated just from the master password (without the -s option) are not impacted. The confidentiality of the seed itself is also not impacted (it is not required to regenerate the seed itself). Specific impact includes: * keys/secrets generated from a seed file may have lower entropy: it was expected that the whole seed would be used to generate keys (240 bytes of entropy input), where in vulnerable versions only 28 bytes was used * a malicious entity could have recovered all passwords, generated from a particular seed, having only the seed file in possession without the knowledge of the seed master password Patches The code logic bug has been fixed in gokey version 0.2.0 and above. Due to the deterministic nature of gokey, fixed versions will produce different passwords/secrets using seed files, as all seed entropy will be used now. System secret rotation guidance It is advised for ",
    "evidence": "osv:UBUNTU-CVE-2025-13353",
    "products": [
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.0-1build2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.2-1build1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.1.2-1ubuntu0.24.04.1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.1.2-1ubuntu0.24.04.2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "0.1.2-1ubuntu0.24.04.3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.2-1build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.2.0-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "gokey",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.1.2-1build1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.1.2-1build2",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.2.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "0.2.0-1ubuntu0.26.04.1~esm1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2025-13353",
      "aliases": [
        "UBUNTU-CVE-2025-13353"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:H"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "0.1.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.1.0-1"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.1.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.1.0-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.1.0-1build2"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.1.0-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.1.2-1build1",
            "0.1.2-1ubuntu0.24.04.1",
            "0.1.2-1ubuntu0.24.04.2",
            "0.1.2-1ubuntu0.24.04.3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.1.2-1ubuntu0.24.04.3"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.1.2-1ubuntu0.24.04.3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.1.2-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.1.2-1build1"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.1.2-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.2.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.2.0-1"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.2.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "gokey",
            "purl": "pkg:deb/ubuntu/gokey?arch=source&distro=esm-apps%2Fresolute",
            "ecosystem": "Ubuntu:Pro:26.04:LTS"
          },
          "versions": [
            "0.1.2-1build1",
            "0.1.2-1build2",
            "0.2.0-1",
            "0.2.0-1ubuntu0.26.04.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-13353.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "gokey",
                "binary_version": "0.2.0-1ubuntu0.26.04.1~esm1"
              },
              {
                "binary_name": "golang-github-cloudflare-gokey-dev",
                "binary_version": "0.2.0-1ubuntu0.26.04.1~esm1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:48.038582151Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-13353"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-13353",
        "https://www.cve.org/CVERecord?id=CVE-2025-13353",
        "https://github.com/cloudflare/gokey/security/advisories/GHSA-69jw-4jj8-fcxm"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-13353",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356302,
  "published_at": "2025-12-02T11:15:00+00:00"
}