SCA: security update for @digitalbazaar/zcap (GHSA-hp8h-7x69-4wmv)

medium Tenable Cloud Security Plugin ID 415856

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- `@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. (CVE-2024-31995)

See Also

https://github.com/advisories/GHSA-hp8h-7x69-4wmv

Plugin Details

Severity: Medium

ID: 415856

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2024-31995

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/10/2024

Vulnerability Publication Date: 4/10/2024

Reference Information

CVE: CVE-2024-31995

cwe: CWE-613