GitHub Advisoryadvisory · PyPI

GHSA-hhfg-fwrw-87w7 sigstore has insufficient validation of integration timestamp during verification

LOW Published 2024-12-11 Modified 2024-12-11 Official page ↗
Aliases
CVE-2024-55655
Ecosystem
PyPI
Packages
sigstore
Severity
Low
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weaknesses
CWE-20, CWE-325
Reviewed
2024-12-11

Affected packages

• PyPI sigstore: >= 2.0.0, < 3.6.0 → fixed in 3.6.0

Description

Summary Versions of sigstore-python newer than 2.0.0 but prior to 3.6.0 perform insufficient validation of the "integration time" present in "v2" and "v3" bundles during the verification flow: the "integration time" is verified *if* a source of signed time (such as an inclusion promise) is present, but is otherwise trusted if no source of signed time is present. This does not affect "v1" bundles, as the "v1" bundle format always requires an inclusion promise. Details Sigstore uses signed time to support verification of signatures made against short-lived signing keys. Impact The impact and severity of this weakness is *low*, as Sigstore contains multiple other enforcing components that prevent an attacker who modifies the integration timestamp within a bundle from impersonating a valid signature. In particular, an attacker who modifies the integration timestamp can induce a Denial of Service, but in no different manner than already possible with bundle access (e.g. modifying the signature itself such that it fails to verify). Separately, an attacker could upload a *new* entry to the transparency service, and substitute their new entry's time. However, this would still be rejected at validation time, as the new entry's (valid) signed time would be outside the validity window of the original signing certificate and would nonetheless render the attacker auditable.

Related

Alias · CVE (1)

  • CVE-2024-55655 sigstore-python is a Python tool for generating and verifying Sigstore signatures. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-325 Missing Cryptographic Step weakness

References