{"id":"EUVD-2024-1217","enisaUuid":"a537d275-3df1-3632-b901-cb5b4c13a0b4","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.","datePublished":"Apr 10, 2024, 9:57:41 PM","dateUpdated":"Aug 2, 2024, 1:59:50 AM","baseScore":4.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv\nhttps://github.com/digitalbazaar/zcap/pull/82\nhttps://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe\nhttps://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5\n","aliases":"CVE-2024-31995\nGHSA-hp8h-7x69-4wmv\n","assigner":"GitHub_M","epss":0.44,"enisaIdProduct":[{"id":"3e739d3b-f1ad-3353-864b-268a24c57430","product":{"name":"zcap","vendor":{"name":"digitalbazaar"}},"product_version":"\u003c 9.0.1"}],"enisaIdVendor":[{"id":"e38a6524-c3f6-3d9a-b473-85840df9a212","vendor":{"name":"digitalbazaar"}}],"enisaIdVulnerability":[{"id":"4b71bc16-f0fc-3b48-97a6-46942743be7f","vulnerability":{"id":"CVE-2024-31995","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.","datePublished":"Apr 10, 2024, 9:57:41 PM","dateUpdated":"Aug 2, 2024, 1:59:50 AM","status":"PUBLISHED","baseScore":4.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","references":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv\nhttps://github.com/digitalbazaar/zcap/pull/82\nhttps://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe\nhttps://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5\n","enisa_id":"EUVD-2024-1217\n","assigner":"GitHub_M","epss":0.44,"dataProcessed":"Nov 15, 2026, 7:18:58 AM","vulnerabilityProduct":[{"id":"f7e522a9-0a66-36fe-9a82-ea0760c30feb","product":{"name":"zcap","vendor":{"name":"digitalbazaar"}},"product_version":"\u003c 9.0.1"}],"vulnerabilityVendor":[{"id":"2ff116f8-e3a3-3025-9f78-208ed9ef4b82","vendor":{"name":"digitalbazaar"}}]}},{"id":"6fbc1066-6ae7-33e8-a0d1-4e3fbffffdab","vulnerability":{"id":"GHSA-hp8h-7x69-4wmv","description":"zcap has incomplete expiration checks in capability chains.","datePublished":"Apr 10, 2024, 5:16:15 PM","dateUpdated":"Apr 11, 2024, 2:31:30 PM","baseScore":null,"references":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-31995\nhttps://github.com/digitalbazaar/zcap/pull/82\nhttps://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe\nhttps://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5\nhttps://github.com/digitalbazaar/zcap\n","enisa_id":"EUVD-2024-1217\n","aliases":"GHSA-hp8h-7x69-4wmv\nCVE-2024-31995\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:36:39 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}