Improper Access Control Affecting vp-toolkit package, versions <0.2.2


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-VPTOOLKIT-559428
  • published 6 Mar 2020
  • disclosed 28 Feb 2020
  • credit Marnix van den Bent

Introduced: 28 Feb 2020

CVE NOT AVAILABLE CWE-284 Open this link in a new tab

How to fix?

Upgrade vp-toolkit to version 0.2.2 or higher.

Overview

vp-toolkit is a TypeScript/JavaScript API generating and signing w3c verifiable credentials and related objects.

Affected versions of this package are vulnerable to Improper Access Control. The verifyVerifiablePresentation() method checks the cryptographic integrity of the verifiablePresentation.proof.n.verificationMethod, but it does not check if the credentialSubject.id matches the signer of the VP proof.