CVE-2024-31995
published medium CVSS 3.1 · 4.3zcap has incomplete expiration checks in capability chains.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| digitalbazaar | — | zcap< 9.0.1 | Affected | Not stated | GitHub_M |
Description
`@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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| digitalbazaar | zcap | < 9.0.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-613 CWE-613: Insufficient Session Expiration
References
4Provider assertions
3GitHub_M · cna
zcap has incomplete expiration checks in capability chains.
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d972d4f7755fb1fc81a1761519b16eb5cc00a2ee3b85fa3b6c667b74ae9a8eb5
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record