Headline
GHSA-hp8h-7x69-4wmv: zcap has incomplete expiration checks in capability chains.
Impact
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.
Patches
@digitalbazaar/zcap
v9.0.1 fixes expiration checking.
Workarounds
A zcap could be revoked at any time.
References
https://github.com/digitalbazaar/zcap/pull/82
Skip to content
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
GitHub Sponsors
Fund open source developers
* The ReadME Project
GitHub community articles
- Pricing
Provide feedback
Saved searches****Use saved searches to filter your results more quickly
Sign up
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-31995
zcap has incomplete expiration checks in capability chains.
Moderate severity GitHub Reviewed Published Apr 10, 2024 in digitalbazaar/zcap • Updated Apr 10, 2024
Package
npm @digitalbazaar/zcap (npm)
Affected versions
< 9.0.1
Description
Impact
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.
Patches
@digitalbazaar/zcap v9.0.1 fixes expiration checking.
Workarounds
A zcap could be revoked at any time.
References
digitalbazaar/zcap#82
References
- GHSA-hp8h-7x69-4wmv
- digitalbazaar/zcap#82
- digitalbazaar/zcap@261eea0
- digitalbazaar/zcap@55f8549
Published to the GitHub Advisory Database
Apr 10, 2024
Last updated
Apr 10, 2024