[ALAS-2024-1903] Amazon Linux AMI 2014.03 - ALAS-2024-1903: medium priority package update for golang

Severity Medium
Affected Packages 10
CVEs 3

Package updates are available for Amazon Linux AMI that fix the following vulnerabilities:
CVE-2023-45284:
path/filepath: recognize device names with trailing spaces and superscripts

The IsLocal function did not correctly detect reserved names in some cases:

  • reserved names followed by spaces, such as "COM1 ".
  • "COM" or "LPT" followed by a superscript 1, 2, or 3.

IsLocal now correctly reports these names as non-local.

CVE-2023-45283:
path/filepath: recognize \??\ as a Root Local Device path prefix.

On Windows, a path beginning with \??\ is a Root Local Device path equivalent
to a path beginning with \?. Paths with a \??\ prefix may be used to
access arbitrary locations on the system. For example, the path \??\c:\x
is equivalent to the more common path c:\x.

The filepath package did not recognize paths with a \??\ prefix as special.

Clean could convert a rooted path such as \a..\??\b into
the root local device path \??\b. It will now convert this
path into .\??\b.

IsAbs did not report paths beginning with \??\ as absolute.
It now does so.

VolumeName now reports the \??\ prefix as a volume name.

Join(\, ??, b) could convert a seemingly innocent
sequence of path elements into the root local device path
\??\b. It will now convert this to .\??\b.

CVE-2023-39326:
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.

Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:rpm/amazonlinux/golang?arch=x86_64&distro=amazonlinux-1 amazonlinux golang < 1.20.12-1.49.amzn1 amazonlinux-1 x86_64
Affected pkg:rpm/amazonlinux/golang?arch=i686&distro=amazonlinux-1 amazonlinux golang < 1.20.12-1.49.amzn1 amazonlinux-1 i686
Affected pkg:rpm/amazonlinux/golang-tests?arch=noarch&distro=amazonlinux-1 amazonlinux golang-tests < 1.20.12-1.49.amzn1 amazonlinux-1 noarch
Affected pkg:rpm/amazonlinux/golang-src?arch=noarch&distro=amazonlinux-1 amazonlinux golang-src < 1.20.12-1.49.amzn1 amazonlinux-1 noarch
Affected pkg:rpm/amazonlinux/golang-shared?arch=x86_64&distro=amazonlinux-1 amazonlinux golang-shared < 1.20.12-1.49.amzn1 amazonlinux-1 x86_64
Affected pkg:rpm/amazonlinux/golang-shared?arch=i686&distro=amazonlinux-1 amazonlinux golang-shared < 1.20.12-1.49.amzn1 amazonlinux-1 i686
Affected pkg:rpm/amazonlinux/golang-misc?arch=noarch&distro=amazonlinux-1 amazonlinux golang-misc < 1.20.12-1.49.amzn1 amazonlinux-1 noarch
Affected pkg:rpm/amazonlinux/golang-docs?arch=noarch&distro=amazonlinux-1 amazonlinux golang-docs < 1.20.12-1.49.amzn1 amazonlinux-1 noarch
Affected pkg:rpm/amazonlinux/golang-bin?arch=x86_64&distro=amazonlinux-1 amazonlinux golang-bin < 1.20.12-1.49.amzn1 amazonlinux-1 x86_64
Affected pkg:rpm/amazonlinux/golang-bin?arch=i686&distro=amazonlinux-1 amazonlinux golang-bin < 1.20.12-1.49.amzn1 amazonlinux-1 i686
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...