Security mailing lists by PureSourceCode

GHSA-ff5x-w9wg-h275

HIGH

Holder can generate proof of ownership for credentials it does not control in vp-toolkit

Impact

The verifyVerifiablePresentation() method check the cryptographic integrity of the Verifiable Presentation, but it does not check if the credentialSubject.id DID matches the signer of the VP proof.

The verifier is impacted by this vulnerability.

Patches

Patch will be available in version 0.2.2.

Workarounds
  • Compute the address out of the verifiablePresentation.proof.n.verificationMethod using getAddressFromPubKey() from crypt-util@0.1.5 and match it with the credentialSubject.id address from the credential.
References

Github issue

For more information

If you have any questions or comments about this advisory:

Published
6 Mar 2020
Last modified
28 Feb 2020
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm vp-toolkit < 0.2.2 0.2.2

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Mar 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.