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

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.

CVSS Scores

version 3.1
Expand this section

Snyk

7.6 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    Low