Advisory

GHSA-p94w-42g3-f7h4

Also known as: None

Summary

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

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-03-06 01:16 UTC
Modified
2020-02-28 16:38 UTC

Affected packages and fixes

vp-toolkit

npm · All systems

Affected

  • introduced 0, fixed 0.2.2 (semver)

Fixed versions

0.2.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences