`@digitalbazaar/zcap` provides JavaScript reference implementation for Authorization Capabilities. Prior to version 9.0.1, 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. As a workaround, one may revoke a zcap at any time.
Advisories
Source ID Title
EUVD EUVD EUVD-2024-1217 `@digitalbazaar/zcap` provides JavaScript reference implementation for Authorization Capabilities. Prior to version 9.0.1, 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. As a workaround, one may revoke a zcap at any time.
Github GHSA Github GHSA GHSA-hp8h-7x69-4wmv zcap has incomplete expiration checks in capability chains.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T01:59:50.785Z

Reserved: 2024-04-08T13:48:37.491Z

Link: CVE-2024-31995

cve-icon Vulnrichment

Updated: 2024-05-14T17:44:38.627Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-10T22:15:07.340

Modified: 2024-11-21T09:14:18.343

Link: CVE-2024-31995

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses