QID 376057

Date Published: 2021-11-17

QID 376057: GoLang Multiple Vulnerabilities

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.

CVE-2021-41771: Malformed binaries parsed using Open or OpenFat can cause a panic when calling ImportedSymbols, due to an out-of-bounds slice operation.

CVE-2021-41772: Reader.Open (the API implementing io/fs.FS introduced in Go 1.16) can be made to panic by an attacker providing either a crafted ZIP archive containing completely invalid names or an empty filename argument.

Affected Version:
Go version before 1.17.3 in 1.17.x
Go version 1.16.10 and earlier

QID Detection Logic(authenticated):
This QID checks for vulnerable version of Go installed on the target.

Note: For unix target, this QID will only work if Go path is properly set in environment variable.

Successful exploitation could result in out-of-bounds slice operation.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    It is advised to install the latest Go version from Go download page.
    Vendor References

    CVEs related to QID 376057

    Software Advisories
    Advisory ID Software Component Link
    GoLang release notes URL Logo golang.org/doc/devel/release#go1.17.minor