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.
Patch will be available in version 0.2.2.
verifiablePresentation.proof.n.verificationMethod using getAddressFromPubKey() from crypt-util@0.1.5 and match it with the credentialSubject.id address from the credential.If you have any questions or comments about this advisory:
{
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2020-02-28T16:38:18Z",
"nvd_published_at": null,
"severity": "HIGH"
}