{"id":"GHSA-4g52-pqcj-phvh","revision":null,"records":[{"revision":"fcae5149a8094e5dab4535a3e41e5657","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-21405","aliases":[],"title":"BLS Signature \"Malleability\"","description":"Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: \"serialized\", and \"compressed\", meaning that BLS signatures can be provided as either of 2 unique byte arrays. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block. The result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique. By switching from the go based `blst` bindings over to the bindings in `filecoin-ffi`, the code paths now ensure that all signatures are compressed by size and the way they are deserialized. This happened in https://github.com/filecoin-project/lotus/pull/5393.","state":0,"publishedAt":"2021-04-15T21:35:13+00:00","modifiedAt":"2024-08-03T18:09:16.079+00:00","affected":[{"ecosystem":"Vendor product","name":"lotus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"lotus\",\n                    \"vendor\": \"filecoin-project\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 1.5.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"}],"references":["https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","https://github.com/filecoin-project/lotus/pull/5393","https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-21405","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-21405","identifiers":["CVE-2021-21405"]},"retained":false,"historicalAffected":[]},{"revision":"050fe5d4767441e6ade1a206f4abfaff","observedAt":"2026-11-24T05:28:11.076+00:00","statement":{"source":"euvd","id":"EUVD-2021-0938","aliases":["CVE-2021-21405","GHSA-4g52-pqcj-phvh"],"title":"Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: \"serialized\", and \"compressed\", meaning that BLS sign…","description":"Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: \"serialized\", and \"compressed\", meaning that BLS signatures can be provided as either of 2 unique byte arrays. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block. The result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique. By switching from the go based `blst` bindings over to the bindings in `filecoin-ffi`, the code paths now ensure that all signatures are compressed by size and the way they are deserialized. This happened in https://github.com/filecoin-project/lotus/pull/5393.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":null}],"references":["https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","https://github.com/filecoin-project/lotus/pull/5393","https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0938","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Apr 15, 2021, 9:35:13 PM","dateUpdated":"Aug 3, 2024, 6:09:16 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2021-0938","identifiers":["EUVD-2021-0938","CVE-2021-21405","GHSA-4g52-pqcj-phvh"]},"retained":false,"historicalAffected":[]},{"revision":"7fb80f2e0bfc4c0a8ebea24d8bb22cb0","observedAt":"2026-10-24T17:17:33.481+00:00","statement":{"source":"nvd","id":"CVE-2021-21405","aliases":[],"title":"Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: \"serialized\", and \"compressed\", meaning that BLS sign…","description":"Lotus is an Implementation of the Filecoin protocol written in Go. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms: \"serialized\", and \"compressed\", meaning that BLS signatures can be provided as either of 2 unique byte arrays. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block. The result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique. By switching from the go based `blst` bindings over to the bindings in `filecoin-ffi`, the code paths now ensure that all signatures are compressed by size and the way they are deserialized. This happened in https://github.com/filecoin-project/lotus/pull/5393.","state":0,"publishedAt":"2021-04-15T22:15:11.967+00:00","modifiedAt":"2026-06-17T03:35:30.13+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":5.9,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"severity":"MEDIUM"}],"references":["https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754","https://github.com/filecoin-project/lotus/pull/5393","https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-21405","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-347"],"productCriteria":["cpe:2.3:a:filecoin:lotus:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-04-15T22:15:11.967","lastModified":"2026-06-17T03:35:30.130"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2021-21405","identifiers":["CVE-2021-21405"]},"retained":false,"historicalAffected":[]},{"revision":"b04d5368611f48709db22bdfa073f534","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-4g52-pqcj-phvh","aliases":["CVE-2021-21405","GO-2022-0905"],"title":"BLS Signature \"Malleability\"","description":"### Impact\n\n1. BLS signature validation in lotus uses blst library method VerifyCompressed. This method accepts signatures in 2 forms - \"serialized\", and \"compressed\", meaning that BLS signatures can be provided as either of 2 unique byte arrays.\n2. Lotus block validation functions perform a uniqueness check on provided blocks. Two blocks are considered distinct if the CIDs of their blockheader do not match. The CID method for blockheader includes the BlockSig of the block.\n\nThe result of these issues is that it would be possible to punish miners for valid blocks, as there are two different valid block CIDs available for each block, even though this must be unique.\n\n### Patches\n\nBy switching from the go based `blst` bindings over to the bindings in `filecoin-ffi`, the code paths now ensure that all signatures are compressed by size and the way they are deserialized.\nThis happened in https://github.com/filecoin-project/lotus/pull/5393\n\n\n### References\n\n- Original POC: https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754","state":0,"publishedAt":"2021-05-21T16:23:43+00:00","modifiedAt":"2026-07-08T06:29:38.5816667+00:00","affected":[{"ecosystem":"Go","name":"github.com/filecoin-project/lotus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","https://nvd.nist.gov/vuln/detail/CVE-2021-21405","https://github.com/filecoin-project/lotus/pull/5393","https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754"],"sourceUrl":"https://github.com/advisories/GHSA-4g52-pqcj-phvh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4g52-pqcj-phvh","identifiers":["GHSA-4g52-pqcj-phvh","CVE-2021-21405","GO-2022-0905"]},"retained":false,"historicalAffected":[]},{"revision":"a698f9b0c8fe4acb8f1c6b918dd3acb7","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0905","aliases":["CVE-2021-21405","GHSA-4g52-pqcj-phvh"],"title":"BLS Signature \"Malleability\" in github.com/filecoin-project/lotus","description":"BLS Signature \"Malleability\" in github.com/filecoin-project/lotus","state":0,"publishedAt":"2024-08-21T15:29:08+00:00","modifiedAt":"2026-03-03T04:52:27.163593+00:00","affected":[{"ecosystem":"Go","name":"github.com/filecoin-project/lotus","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.5.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","https://nvd.nist.gov/vuln/detail/CVE-2021-21405","https://github.com/filecoin-project/lotus/pull/5393","https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0905","license":"OSV · upstream source license applies","key":"osv:GO-2022-0905","identifiers":["GO-2022-0905","CVE-2021-21405","GHSA-4g52-pqcj-phvh"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8059403+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8059408+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-1cb3f08741654e399e524c27b57783f5","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T15:30:42.8296389+00:00","lastSuccessAt":"2026-11-25T15:30:42.9024522+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:42.9024522+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T15:30:40.6081624+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8067671+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8067672+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-91a1844a9c234a33bf5df077b2f01fa3","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T15:30:41.8818771+00:00","lastSuccessAt":"2026-11-25T15:30:41.877+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:41.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T15:30:40.4787181+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.4787181+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T15:30:40.5768219+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.5768219+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-5747fce78879ab80d0039caa02f9d28c583bbc680a45e25fa53cb124697761ff","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:30:40.354568+00:00","lastSuccessAt":"2026-11-25T15:30:39.1946895+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.354568+00:00","snapshotPublishedAt":"2026-11-25T15:03:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}