Vulnerability library
Security checkApril 21, 2024

zcap has incomplete expiration checks in capability chains.

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@digitalbazaar/zcap

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the @digitalbazaar/zcap package to the latest compatible version. Followings are version details:

  • Affected version(s): < 9.0.1
  • Patched version(s): 9.0.1

References

Could your website be exposed too?

SmartScanner can check your website for zcap has incomplete expiration checks in capability chains. and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 21, 2024