An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1ocDhoLTd4NjktNHdtds4AA63y

zcap has incomplete expiration checks in capability chains.


When invoking a capability with a chain depth of 2, i.e., it is delegated directly from the root capability, the expires property is not properly checked against the current date or other date param. This can allow invocations outside of the original intended time period. A zcap still cannot be invoked without being able to use the associated private key material.


@digitalbazaar/zcap v9.0.1 fixes expiration checking.


A zcap could be revoked at any time.


Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 months ago
Updated: about 1 month ago

CVSS Score: 4.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Identifiers: GHSA-hp8h-7x69-4wmv, CVE-2024-31995
References: Repository:
Blast Radius: 4.3

Affected Packages

Dependent packages: 13
Dependent repositories: 10
Downloads: 1,654 last month
Affected Version Ranges: < 9.0.1
Fixed in: 9.0.1
All affected versions: 7.0.0, 7.0.1, 7.1.0, 7.2.0, 7.2.1, 7.2.2, 8.0.0, 9.0.0
All unaffected versions: 9.0.1