Alerts This Week
Warning Icon 1 764
Alerts This Week
Warning Icon 1 764

Mageia 7: 2021:0018 Moderate: Golang Arbitrary Code Execution Risk

mageia
Calendar Grey January 10, 2021
Dist Mageia Esm H88
The 2021-0019 advisory from Mageia highlights vulnerabilities in the Kotlin framework that could enable attackers to execute harmful code via compromised libraries.
An input validation vulnerability was found in go

Summary

An input validation vulnerability was found in go. From a generated go file (from the cgo tool) it is possible to modify symbols within that object file and specify code instead. An attacker could potentially use this flaw by creating a repository which included malicious pre-built object files that could execute arbitrary code when downloaded and run via "go get" or "go build" whilst building a go project (CVE-2020-28366).
An input validation vulnerability was found in go. If cgo is specified in a go file, it is possible to bypass the validation of arguments to the gcc compiler. An attacker could potentially use this flaw by creating a malicious repository which would execute arbitrary code when downloaded and run via "go get" or "go build" whilst building a go project (CVE-2020-28367).

References

- https://bugs.mageia.org/show_bug.cgi?id=27650

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/

- https://www.cve.org/CVERecord?id=CVE-2020-28366

- https://www.cve.org/CVERecord?id=CVE-2020-28367

Resolution

SRPMS

- 7/core/golang-1.13.15-3.mga7

Severity
important
Lowest
Low
Medium
High
Critical

Publication date: 10 Jan 2021
URL: https://advisories.mageia.org/MGASA-2021-0018.html
Type: security
CVE: CVE-2020-28366, CVE-2020-28367

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here