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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Improper Access Control vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-VPTOOLKIT-559428
  • published6 Mar 2020
  • disclosed28 Feb 2020
  • creditMarnix van den Bent

Introduced: 28 Feb 2020

CVE NOT AVAILABLE CWE-284  (opens 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.

CVSS Scores

version 3.1