Skip to content

Holder can (re)create authentic credentials after receiving a credential in vp-toolkit

High severity GitHub Reviewed Published Mar 6, 2020 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

npm vp-toolkit (npm)

Affected versions

< 0.2.2

Patched versions

0.2.2

Description

Impact

The verifyVerifiableCredential() method check the cryptographic integrity of the Verifiable Credential, but it does not check if the credential.issuer DID matches the signer of the credential.

The verifier is impacted by this vulnerability.

Patches

Patch will be available in version 0.2.2.

Workarounds

In case you trust certain issuers for certain credentials as a verifier, trust the issuer's public key from the credential.proof.verificationMethod field.

References

Github issue

For more information

If you have any questions or comments about this advisory:

References

Reviewed Feb 28, 2020
Published to the GitHub Advisory Database Mar 6, 2020
Last updated Jan 9, 2023

Severity

High

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-p94w-42g3-f7h4

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.