gsd-2020-28367
Vulnerability from gsd
Modified
2023-12-13 01:22
Details
Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2020-28367", "description": "Go before 1.14.12 and 1.15.x before 1.15.5 allows Argument Injection.", "id": "GSD-2020-28367", "references": [ "https://www.suse.com/security/cve/CVE-2020-28367.html", "https://access.redhat.com/errata/RHSA-2021:0146", "https://access.redhat.com/errata/RHSA-2021:0145", "https://access.redhat.com/errata/RHSA-2020:5493", "https://access.redhat.com/errata/RHSA-2020:5333", "https://advisories.mageia.org/CVE-2020-28367.html", "https://security.archlinux.org/CVE-2020-28367", "https://alas.aws.amazon.com/cve/html/CVE-2020-28367.html", "https://linux.oracle.com/cve/CVE-2020-28367.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2020-28367" ], "details": "Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive.", "id": "GSD-2020-28367", "modified": "2023-12-13T01:22:01.893827Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security@golang.org", "ID": "CVE-2020-28367", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "cmd/go", "version": { "version_data": [ { "version_affected": "\u003c", "version_name": "0", "version_value": "1.14.12" }, { "version_affected": "\u003c", "version_name": "1.15.0-0", "version_value": "1.15.5" } ] } } ] }, "vendor_name": "Go toolchain" } ] } }, "credits": [ { "lang": "en", "value": "Imre Rad" } ], "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-94: Improper Control of Generation of Code (\u0027Code Injection\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://go.dev/cl/267277", "refsource": "MISC", "url": "https://go.dev/cl/267277" }, { "name": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561", "refsource": "MISC", "url": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561" }, { "name": "https://go.dev/issue/42556", "refsource": "MISC", "url": "https://go.dev/issue/42556" }, { "name": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM", "refsource": "MISC", "url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM" }, { "name": "https://pkg.go.dev/vuln/GO-2022-0476", "refsource": "MISC", "url": "https://pkg.go.dev/vuln/GO-2022-0476" }, { "name": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html", "refsource": "MISC", "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html" } ] } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.14.12", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "1.15.5", "versionStartIncluding": "1.15", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2020-28367" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a #cgo directive." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-94" } ] } ] }, "references": { "reference_data": [ { "name": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM", "refsource": "CONFIRM", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM" }, { "name": "https://pkg.go.dev/vuln/GO-2022-0476", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://pkg.go.dev/vuln/GO-2022-0476" }, { "name": "https://go.dev/issue/42556", "refsource": "MISC", "tags": [ "Issue Tracking", "Patch", "Third Party Advisory" ], "url": "https://go.dev/issue/42556" }, { "name": "https://go.dev/cl/267277", "refsource": "MISC", "tags": [ "Product", "Release Notes" ], "url": "https://go.dev/cl/267277" }, { "name": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561", "refsource": "MISC", "tags": [ "Product" ], "url": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561" }, { "name": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html", "refsource": "MISC", "tags": [], "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "HIGH", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "PARTIAL", "baseScore": 5.1, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "version": "2.0" }, "exploitabilityScore": 4.9, "impactScore": 6.4, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "REQUIRED", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 1.6, "impactScore": 5.9 } }, "lastModifiedDate": "2023-04-20T00:15Z", "publishedDate": "2020-11-18T17:15Z" } } }
Loading...
Loading...
- 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.