{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-31995","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-04-08T13:48:37.491Z","datePublished":"2024-04-10T21:57:41.129Z","dateUpdated":"2024-08-02T01:59:50.785Z"},"containers":{"cna":{"title":"zcap has incomplete expiration checks in capability chains.","problemTypes":[{"descriptions":[{"cweId":"CWE-613","lang":"en","description":"CWE-613: Insufficient Session Expiration","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv"},{"name":"https://github.com/digitalbazaar/zcap/pull/82","tags":["x_refsource_MISC"],"url":"https://github.com/digitalbazaar/zcap/pull/82"},{"name":"https://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe","tags":["x_refsource_MISC"],"url":"https://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe"},{"name":"https://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5","tags":["x_refsource_MISC"],"url":"https://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5"}],"affected":[{"vendor":"digitalbazaar","product":"zcap","versions":[{"version":"< 9.0.1","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-04-10T21:57:41.129Z"},"descriptions":[{"lang":"en","value":"`@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."}],"source":{"advisory":"GHSA-hp8h-7x69-4wmv","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-31995","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-14T17:44:20.360065Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:36:54.576Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T01:59:50.785Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/digitalbazaar/zcap/security/advisories/GHSA-hp8h-7x69-4wmv"},{"name":"https://github.com/digitalbazaar/zcap/pull/82","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/digitalbazaar/zcap/pull/82"},{"name":"https://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/digitalbazaar/zcap/commit/261eea040109b6e25159c88d8ed49d3c37f8fcfe"},{"name":"https://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/digitalbazaar/zcap/commit/55f8549c80124b85dfb0f3dcf83f2c63f42532e5"}]}]}}