-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2020.4063
                       FreeBSD VuXML: go -- math/big
                             16 November 2020

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           go
Publisher:         FreeBSD
Operating System:  FreeBSD
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account      
                   Denial of Service               -- Remote/Unauthenticated
                   Reduced Security                -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-28367 CVE-2020-28366 CVE-2020-28362

Original Bulletin: 
   https://www.vuxml.org/freebsd/db4b2f27-252a-11eb-865c-00155d646400.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running go check for an updated version of the software for their 
         operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

go -- math/big: panic during recursive division of very large numbers; cmd/go:
arbitrary code execution at build time through cgo

Affected packages
  go < 1.15.5,1

Details

VuXML ID  db4b2f27-252a-11eb-865c-00155d646400
Discovery 2020-11-09
Entry     2020-11-12

The Go project reports:

    A number of math/big.Int methods (Div, Exp, DivMod, Quo, Rem, QuoRem, Mod,
    ModInverse, ModSqrt, Jacobi, and GCD) can panic when provided crafted large
    inputs. For the panic to happen, the divisor or modulo argument must be
    larger than 3168 bits (on 32-bit architectures) or 6336 bits (on 64-bit
    architectures). Multiple math/big.Rat methods are similarly affected.

    Source: https://github.com/golang/go/issues/42552

    The go command may execute arbitrary code at build time when cgo is in use.
    This may occur when running go get on a malicious package, or any other
    command that builds untrusted code. This can be caused by a malicious gcc
    flags specified via a #cgo directive.

    Source: https://github.com/golang/go/issues/42556

    The go command may execute arbitrary code at build time when cgo is in use.
    This may occur when running go get on a malicious package, or any other
    command that builds untrusted code. This can be caused by malicious
    unquoted symbol names.

    Source: https://github.com/golang/go/issues/42559

References

CVE Name CVE-2020-28362
CVE Name CVE-2020-28366
CVE Name CVE-2020-28367
URL      https://github.com/golang/go/issues/42552
URL      https://github.com/golang/go/issues/42556
URL      https://github.com/golang/go/issues/42559

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBX7IDLuNLKJtyKPYoAQgaBw//a90Hvg+pVCerlhPBTQkr1VBl/95OaT2b
CT4ntwSeAqVu3IR5gXESqkwXLFhm0I10AOGhq6BUn5FQGu4ni/PGHMi16x+XiXv7
3EwXR3dfpUgFKgu52z298T8rGRBomYymcgV31PJuv6Ix9ODUiquB6vCAoVhsENBk
iw4AyC7s2OgRLtcxgi1aI7Qu1HJUmnIKbNnWRggvo1o46ErfSFY3JmNQeT9kR5ho
NM40kL1EWGUOtVo9MPGvuy/Y0aJCuUqQApKXFekLDszQR4eKxvsvEzuhDmbZsnjR
N0JSDohwjzOsyRXaLbq49aWCv1KuFDkhLeV/SCbpYx0KwtxZPVu0PW7tbSi+/mma
A+go1TLqVzloMxDW63VwbI4zRpSsdxszIuOHta4PbL1pNq3IgMjvy/eKRDL9UxIL
OlbIume3/Dbg5LBspOqNa+4ldLqY+bXOJvh/PPQgKsYb3uaiEl1wdl2qzbXXCKQi
LDbeQfqAENQ21hT+bYgUoeYUusKU/D4Z4DcdWaHjWItBkyFZ8TR4At/ZtkYKsmLv
WoEKKHtv8jg2EmS00iHoHSjPc8lOjkl9NAqcZfoRSt8f/4gJm3/uotoNsvwi8nPu
hCmBbekK4eihUFXpw8GTD67yHr2L0fMgLZIx2i+K+To0IAfo6dUO/dlGExVW7J38
Yt4ZoNcHkeY=
=plbQ
-----END PGP SIGNATURE-----