gsd-2020-26241
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
Go Ethereum, or "Geth", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth's pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2020-26241", "description": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.", "id": "GSD-2020-26241" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2020-26241" ], "details": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.", "id": "GSD-2020-26241", "modified": "2023-12-13T01:22:08.709513Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-26241", "STATE": "PUBLIC", "TITLE": "Shallow copy bug in geth" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "go-ethereum", "version": { "version_data": [ { "version_value": "\u003e= 1.9.7, \u003c 1.9.17" } ] } } ] }, "vendor_name": "ethereum" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 6.5, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-682: Incorrect Calculation" } ] } ] }, "references": { "reference_data": [ { "name": "https://blog.ethereum.org/2020/11/12/geth_security_release/", "refsource": "MISC", "url": "https://blog.ethereum.org/2020/11/12/geth_security_release/" }, { "name": "https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf", "refsource": "CONFIRM", "url": "https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf" } ] }, "source": { "advisory": "GHSA-69v6-xc2j-r2jf", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv1.9.17", "affected_versions": "All versions before 1.9.17", "cvss_v2": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L", "cwe_ids": [ "CWE-1035", "CWE-682", "CWE-937" ], "date": "2020-12-03", "description": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at `0x00..0x04`) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls `0x00..0x04` with R as an argument, then overwrites R to Y, and finally invokes the `RETURNDATACOPY` opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed ", "fixed_versions": [ "v1.9.17" ], "identifier": "CVE-2020-26241", "identifiers": [ "CVE-2020-26241", "GHSA-69v6-xc2j-r2jf" ], "not_impacted": "All versions starting from 1.9.17", "package_slug": "go/github.com/ethereum/go-ethereum", "pubdate": "2020-11-25", "solution": "Upgrade to version 1.9.17 or above.", "title": "Incorrect Calculation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-26241", "https://blog.ethereum.org/2020/11/12/geth_security_release/" ], "uuid": "7e6f1574-e262-43e0-ba6e-b08c571f0b16", "versions": [ { "commit": { "sha": "748f22c192d24082723f935afd0b0b63e7fd50f4", "tags": [ "v1.9.17" ], "timestamp": "20200720125642" }, "number": "v1.9.17" } ] }, { "affected_range": "\u003cv1.9.17", "affected_versions": "All versions before 1.9.17", "cvss_v2": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L", "cwe_ids": [ "CWE-1035", "CWE-682", "CWE-937" ], "date": "2020-12-03", "description": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at `0x00..0x04`) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls `0x00..0x04` with R as an argument, then overwrites R to Y, and finally invokes the `RETURNDATACOPY` opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed ", "fixed_versions": [ "v1.9.17" ], "identifier": "CVE-2020-26241", "identifiers": [ "CVE-2020-26241", "GHSA-69v6-xc2j-r2jf" ], "not_impacted": "All versions starting from 1.9.17", "package_slug": "go/github.com/ethereum/go-ethereum/cmd/evm", "pubdate": "2020-11-25", "solution": "Upgrade to version 1.9.17 or above.", "title": "Incorrect Calculation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-26241", "https://blog.ethereum.org/2020/11/12/geth_security_release/" ], "uuid": "45d1ae5d-cea5-4a11-9f80-5937a425461d", "versions": [ { "commit": { "sha": "748f22c192d24082723f935afd0b0b63e7fd50f4", "tags": [ "v1.9.17" ], "timestamp": "20200720125642" }, "number": "v1.9.17" } ] }, { "affected_range": "\u003c1.19.7", "affected_versions": "All versions before 1.19.7", "cvss_v2": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L", "cwe_ids": [ "CWE-1035", "CWE-682", "CWE-937" ], "date": "2021-06-29", "description": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17.", "fixed_versions": [ "1.19.7" ], "identifier": "CVE-2020-26241", "identifiers": [ "GHSA-69v6-xc2j-r2jf", "CVE-2020-26241" ], "not_impacted": "All versions starting from 1.19.7", "package_slug": "go/github.com/ethereum/go-ethereum/core/vm", "pubdate": "2021-06-29", "solution": "Upgrade to version 1.19.7 or above.", "title": "Incorrect Calculation", "urls": [ "https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf", "https://nvd.nist.gov/vuln/detail/CVE-2020-26241", "https://github.com/ethereum/go-ethereum/commit/295693759e5ded05fec0b2fb39359965b60da785", "https://github.com/advisories/GHSA-69v6-xc2j-r2jf" ], "uuid": "7dbe9922-bc4c-4519-9a4c-1ef59b969fe8" }, { "affected_range": "\u003cv1.9.17", "affected_versions": "All versions before 1.9.17", "cvss_v2": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L", "cwe_ids": [ "CWE-1035", "CWE-682", "CWE-937" ], "date": "2020-12-03", "description": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at `0x00..0x04`) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls `0x00..0x04` with R as an argument, then overwrites R to Y, and finally invokes the `RETURNDATACOPY` opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed ", "fixed_versions": [ "v1.9.17" ], "identifier": "CVE-2020-26241", "identifiers": [ "CVE-2020-26241", "GHSA-69v6-xc2j-r2jf" ], "not_impacted": "All versions starting from 1.9.17", "package_slug": "go/github.com/ethereum/go-ethereum/eth", "pubdate": "2020-11-25", "solution": "Upgrade to version 1.9.17 or above.", "title": "Incorrect Calculation", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2020-26241", "https://blog.ethereum.org/2020/11/12/geth_security_release/" ], "uuid": "31d8cd3e-eef3-481a-b355-f76b07af6bc4", "versions": [ { "commit": { "sha": "748f22c192d24082723f935afd0b0b63e7fd50f4", "tags": [ "v1.9.17" ], "timestamp": "20200720125642" }, "number": "v1.9.17" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:ethereum:go_ethereum:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.9.17", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2020-26241" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Go Ethereum, or \"Geth\", is the official Golang implementation of the Ethereum protocol. This is a Consensus vulnerability in Geth before version 1.9.17 which can be used to cause a chain-split where vulnerable nodes reject the canonical chain. Geth\u0027s pre-compiled dataCopy (at 0x00...04) contract did a shallow copy on invocation. An attacker could deploy a contract that writes X to an EVM memory region R, then calls 0x00..04 with R as an argument, then overwrites R to Y, and finally invokes the RETURNDATACOPY opcode. When this contract is invoked, a consensus-compliant node would push X on the EVM stack, whereas Geth would push Y. This is fixed in version 1.9.17." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-682" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/ethereum/go-ethereum/security/advisories/GHSA-69v6-xc2j-r2jf" }, { "name": "https://blog.ethereum.org/2020/11/12/geth_security_release/", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://blog.ethereum.org/2020/11/12/geth_security_release/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "SINGLE", "availabilityImpact": "PARTIAL", "baseScore": 5.5, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 8.0, "impactScore": 4.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "LOW", "baseScore": 7.1, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L", "version": "3.1" }, "exploitabilityScore": 2.8, "impactScore": 4.2 } }, "lastModifiedDate": "2020-12-03T15:48Z", "publishedDate": "2020-11-25T02:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…