QID 356362

Date Published: 2023-10-18

QID 356362: Amazon Linux Security Advisory for golang : ALAS-2023-1848

On unix platforms, the go runtime does not behave differently when a binary is run with the setuid/setgid bits.
This can be dangerous in certain cases, such as when dumping memory state, or assuming the status of standard i/o file descriptors.
If a setuid/setgid binary is executed with standard i/o file descriptors closed, opening any files can result in unexpected content being read or written with elevated privileges.
Similarly, if a setuid/setgid program is terminated, either via panic or signal, it may leak the contents of its registers. (
( CVE-2023-29403) the http/1 client does not fully validate the contents of the host header.
A maliciously crafted host header can inject additional headers or entire requests.
With fix, the http/1 client now refuses to send requests containing an invalid request.
Host or request.
Url.host value. (
( CVE-2023-29406) extremely large rsa keys in certificate chains can cause a client/server to expend significant cpu time verifying signatures.
With fix, the size of rsa keys transmitted during handshakes is restricted to <= 8192 bits.
Based on a survey of publicly trusted rsa keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed.
It is possible there are larger keys in use in private pkis, but we target the web pki, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. (
( CVE-2023-29409)



Note: The preceding description block is extracted directly from the security advisory.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as High - 7.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2023-1848 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356362

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2023-1848 amazon linux URL Logo alas.aws.amazon.com/ALAS-2023-1848.html