{"resultsPerPage":1,"startIndex":0,"totalResults":1,"format":"NVD_CVE","version":"2.0","timestamp":"2026-05-07T20:49:02.502","vulnerabilities":[{"cve":{"id":"CVE-2021-21405","sourceIdentifier":"security-advisories@github.com","published":"2021-04-15T22:15:11.967","lastModified":"2024-11-21T05:48:17.403","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Lotus es una implementación del protocolo Filecoin escrito en Go.&#xa0;La validación de la firma BLS en lotus utiliza el método de biblioteca blst VerifyCompressed.&#xa0;Este método acepta firmas en 2 formas: \"serialized\" y \"compressed\", lo que significa que las firmas BLS se pueden proporcionar como cualquiera de las 2 matrices de bytes únicas.&#xa0;Las funciones de validación de bloques de Lotus realizan una verificación de unicidad en los bloques proporcionados.&#xa0;Dos bloques se consideran distintos si los CID de su encabezado de bloque no coinciden.&#xa0;El método CID para blockheader incluye el BlockSig del bloque.&#xa0;El resultado de estos problemas es que sería posible castigar a los mineros por bloques válidos, ya que hay dos CID de bloque válidos diferentes disponibles para cada bloque, aunque este debe ser único.&#xa0;Al cambiar de los enlaces `blst` basados ??en go a los enlaces en `filecoin-ffi`,&#xa0;las rutas de código ahora garantizan que todas las firmas estén comprimidas por tamaño y la forma en que se deserializan.&#xa0;Esto ocurrió en https://github.com/filecoin-project/lotus/pull/5393"}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":3.6},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-347"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:filecoin:lotus:*:*:*:*:*:*:*:*","versionEndExcluding":"1.5.0","matchCriteriaId":"2E70B8AC-AD64-4FD9-9EDE-EB9C83587B69"}]}]}],"references":[{"url":"https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754","source":"security-advisories@github.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/filecoin-project/lotus/pull/5393","source":"security-advisories@github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","source":"security-advisories@github.com","tags":["Patch","Third Party Advisory"]},{"url":"https://gist.github.com/wadeAlexC/2490d522e81a796af9efcad1686e6754","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/filecoin-project/lotus/pull/5393","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/filecoin-project/lotus/security/advisories/GHSA-4g52-pqcj-phvh","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"]}]}}]}