Description (CNA)
sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 3.2.1, the preAuthEncoding function in @sigstore/core uses Node.js ascii encoding when converting the PAE string to bytes, allowing payloadType to be mutated after signing without invalidating the signature and breaking the type-binding guarantee that DSSE is designed to provide. This issue is fixed in version 3.2.1.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| sigstore / sigstore-js | affected < 3.2.1 |
CWE
CWE-347
References
- https://github.com/sigstore/sigstore-js/security/advisories/GHSA-jfc7-64v2-mr8c
- https://github.com/sigstore/sigstore-js/pull/1657
- https://github.com/sigstore/sigstore-js/commit/b5aa4f1f8d2db0a9dfa6430fb114d9c2f1c304f7
- https://github.com/sigstore/sigstore-js/releases/tag/%40sigstore%2Fcore%403.2.1
ADP enrichment
No English description supplied.