{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-31995","published":"2024-04-10T22:15:07.340000Z","last_modified":"2026-06-17T07:29:05.300000Z","status":"Deferred","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-613"],"cpes":[],"cpes_truncated":false,"vendors":["digitalbazaar"],"products":["digitalbazaar/zcap"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00623,"percentile":0.44273,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hp8h-7x69-4wmv","ecosystem":"npm","name":"@digitalbazaar/zcap","purl":"pkg:npm/%40digitalbazaar/zcap","ranges":[{"introduced":"0","fixed":"9.0.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2024-31995/","html_en":"/en/cve/CVE-2024-31995/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-31995","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-31995"},"untrusted":{"vendor_name":"digitalbazaar","product_name":"zcap","desc_en":"`@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.","affected":[{"untrusted_vendor":"digitalbazaar","untrusted_product":"zcap","versions":[]}],"references":[{"url":"https://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe","tags":[]},{"url":"https://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5","tags":[]},{"url":"https://github.com/digitalbazaar/zcap/pull/82","tags":[]},{"url":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv","tags":[]}]}}