GHSA-p94w-42g3-f7h4

Suggest an improvement
Source
https://github.com/advisories/GHSA-p94w-42g3-f7h4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-p94w-42g3-f7h4/GHSA-p94w-42g3-f7h4.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-p94w-42g3-f7h4
Published
2020-03-06T01:16:00Z
Modified
2020-02-28T16:38:09Z
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:

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-02-28T16:38:09Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / vp-toolkit

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-p94w-42g3-f7h4/GHSA-p94w-42g3-f7h4.json"