Lucene search

K
amazonAmazonALAS-2024-1903
HistoryJan 03, 2024 - 10:37 p.m.

Medium: golang

2024-01-0322:37:00
alas.aws.amazon.com
8
http sender
receiver
path/filepath
windows
cve-2023-39326
cve-2023-45283
cve-2023-45284

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

6.5 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.001 Low

EPSS

Percentile

40.5%

Issue Overview:

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. (CVE-2023-39326)

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-45283)

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-45284)

Affected Packages:

golang

Issue Correction:
Run yum update golang to update your system.

New Packages:

i686:  
    golang-bin-1.20.12-1.49.amzn1.i686  
    golang-shared-1.20.12-1.49.amzn1.i686  
    golang-1.20.12-1.49.amzn1.i686  
  
noarch:  
    golang-misc-1.20.12-1.49.amzn1.noarch  
    golang-src-1.20.12-1.49.amzn1.noarch  
    golang-tests-1.20.12-1.49.amzn1.noarch  
    golang-docs-1.20.12-1.49.amzn1.noarch  
  
src:  
    golang-1.20.12-1.49.amzn1.src  
  
x86_64:  
    golang-bin-1.20.12-1.49.amzn1.x86_64  
    golang-shared-1.20.12-1.49.amzn1.x86_64  
    golang-1.20.12-1.49.amzn1.x86_64  

Additional References

Red Hat: CVE-2023-39326, CVE-2023-45283, CVE-2023-45284

Mitre: CVE-2023-39326, CVE-2023-45283, CVE-2023-45284

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

6.5 Medium

AI Score

Confidence

High

5 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

0.001 Low

EPSS

Percentile

40.5%