{ "id": "CVE-2021-41153", "sourceIdentifier": "security-advisories@github.com", "published": "2021-10-18T21:15:08.353", "lastModified": "2021-10-22T13:42:46.633", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The evm crate is a pure Rust implementation of Ethereum Virtual Machine. In `evm` crate `< 0.31.0`, `JUMPI` opcode's condition is checked after the destination validity check. However, according to Geth and OpenEthereum, the condition check should happen before the destination validity check. This is a **high** severity security advisory if you use `evm` crate for Ethereum mainnet. In this case, you should update your library dependency immediately to on or after `0.31.0`. This is a **low** severity security advisory if you use `evm` crate in Frontier or in a standalone blockchain, because there's no security exploit possible with this advisory. It is **not** recommended to update to on or after `0.31.0` until all the normal chain upgrade preparations have been done. If you use Frontier or other `pallet-evm` based Substrate blockchain, please ensure to update your `spec_version` before updating this. For other blockchains, please make sure to follow a hard-fork process before you update this." }, { "lang": "es", "value": "La crate evm es una implementaci\u00f3n pura de Rust de la m\u00e1quina virtual de Ethereum. En \"evm\" crate \"versiones anteriores a 0.31.0\", la condici\u00f3n del opcode \"JUMPI\" se comprueba despu\u00e9s de la comprobaci\u00f3n de validez del destino. Sin embargo, de acuerdo con Geth y OpenEthereum, la comprobaci\u00f3n de la condici\u00f3n debe ocurrir antes de la comprobaci\u00f3n de la validez del destino. Este es un aviso de seguridad **elevada** si usas la crate \"evm\" para la mainnet de Ethereum. En este caso, debe actualizar su dependencia de la biblioteca inmediatamente a la versi\u00f3n \"0.31.0\" o posterior. Este es un aviso de seguridad de **baja** gravedad si usas \"evm\" crate en Frontier o en una blockchain independiente, porque no se presenta ninguna explotaci\u00f3n de seguridad posible con este aviso. No se recomienda actualizar a la versi\u00f3n \"0.31.0\" o posterior hasta que se hayan realizado todos los preparativos normales de actualizaci\u00f3n de la cadena. Si usa Frontier u otra cadena de bloques basada en \"pallet-evm\", aseg\u00farese de actualizar su \"spec_version\" antes de actualizar esto. Para otras blockchains, por favor aseg\u00farese de seguir un proceso de hard-fork antes de actualizar esto" } ], "metrics": { "cvssMetricV31": [ { "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:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 }, { "source": "security-advisories@github.com", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "NONE", "baseScore": 8.7, "baseSeverity": "HIGH" }, "exploitabilityScore": 2.2, "impactScore": 5.8 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "accessVector": "NETWORK", "accessComplexity": "LOW", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "baseScore": 7.5 }, "baseSeverity": "HIGH", "exploitabilityScore": 10.0, "impactScore": 6.4, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-670" } ] }, { "source": "security-advisories@github.com", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-670" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*", "versionEndExcluding": "0.31.0", "matchCriteriaId": "A596E8A1-CAD9-42EA-A190-E41251EAE3E1" } ] } ] } ], "references": [ { "url": "https://github.com/rust-blockchain/evm/pull/67", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] }, { "url": "https://github.com/rust-blockchain/evm/security/advisories/GHSA-pvh2-pj76-4m96", "source": "security-advisories@github.com", "tags": [ "Patch", "Third Party Advisory" ] } ] }