vp-toolkit
Affected
- introduced
0, fixed0.2.2(semver)
Fixed versions
0.2.2
Fix
- Fixed version
0.2.2npm install [email protected]
Advisory
Also known as: None
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
verifiablePresentation.proof.n.verificationMethod using getAddressFromPubKey() from [email protected] 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:
High Basis: The source's own band: HIGH
0, fixed 0.2.2 (semver)0.2.2
0.2.2npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0