# GHSA-p94w-42g3-f7h4: Holder can (re)create authentic credentials after receiving a credential in vp-toolkit

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-03-06T01:16:00.000Z
- Modified: 2020-02-28T16:38:09.000Z

## Description

### Impact
The [`verifyVerifiableCredential()`](https://github.com/rabobank-blockchain/vp-toolkit/blob/master/src/service/signers/verifiable-credential-signer.ts#L57) method check the cryptographic integrity of the Verifiable Credential, but it does not check if the [`credential.issuer`](https://github.com/rabobank-blockchain/vp-toolkit-models/blob/develop/src/model/verifiable-credential.ts#L129) 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&#39;s public key from the `credential.proof.verificationMethod` field.

### References
[Github issue](https://github.com/rabobank-blockchain/vp-toolkit/issues/13)

### For more information
If you have any questions or comments about this advisory:
* Discuss in the existing [issue](https://github.com/rabobank-blockchain/vp-toolkit/issues/13)
* [Contact me](https://github.com/rabomarnix)

(As written by GitHub Advisory Database.)

## Affected

- vp-toolkit (npm): before 0.2.2

## References

- <https://github.com/rabobank-blockchain/vp-toolkit/security/advisories/GHSA-p94w-42g3-f7h4> (web)
- <https://github.com/rabobank-blockchain/vp-toolkit/issues/13> (web)
- <https://github.com/rabobank-blockchain/vp-toolkit/commit/6315936d1d7913fd116fa51a0dbbd29d82c0ce17> (web)

## Sources

- GitHub Advisory Database: [GHSA-p94w-42g3-f7h4](https://github.com/advisories/GHSA-p94w-42g3-f7h4), CC-BY-4.0, modified 2020-02-28

---

Page: https://cve.day/GHSA-p94w-42g3-f7h4 · Whole record: https://cve.day/GHSA-p94w-42g3-f7h4.json · Rebuilt by cve.day 2026-11-25T22:56:46.102Z
