Lucene search

K
amazonAmazonALAS-2024-2526
HistoryApr 24, 2024 - 10:15 p.m.

Medium: curl

2024-04-2422:15:00
alas.aws.amazon.com
7
protocol selection
error logic
memory leak
application security
amazon linux 2
advisory
package update
cve-2024-2004
cve-2024-2398
red hat
mitre

8.6 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

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

7.3 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%

Issue Overview:

When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled. curl --proto -all,-http http://curl.se The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug. (CVE-2024-2004)

When an application tells libcurl it wants to allow HTTP/2 server push, and the amount of received headers for the push surpasses the maximum allowed limit (1000), libcurl aborts the server push. When aborting, libcurl inadvertently does not free all the previously allocated headers and instead leaks the memory. Further, this error condition fails silently and is therefore not easily detected by an application. (CVE-2024-2398)

Affected Packages:

curl

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

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

New Packages:

aarch64:  
    curl-8.3.0-1.amzn2.0.7.aarch64  
    libcurl-8.3.0-1.amzn2.0.7.aarch64  
    libcurl-devel-8.3.0-1.amzn2.0.7.aarch64  
    curl-debuginfo-8.3.0-1.amzn2.0.7.aarch64  
  
i686:  
    curl-8.3.0-1.amzn2.0.7.i686  
    libcurl-8.3.0-1.amzn2.0.7.i686  
    libcurl-devel-8.3.0-1.amzn2.0.7.i686  
    curl-debuginfo-8.3.0-1.amzn2.0.7.i686  
  
src:  
    curl-8.3.0-1.amzn2.0.7.src  
  
x86_64:  
    curl-8.3.0-1.amzn2.0.7.x86_64  
    libcurl-8.3.0-1.amzn2.0.7.x86_64  
    libcurl-devel-8.3.0-1.amzn2.0.7.x86_64  
    curl-debuginfo-8.3.0-1.amzn2.0.7.x86_64  

Additional References

Red Hat: CVE-2024-2004, CVE-2024-2398

Mitre: CVE-2024-2004, CVE-2024-2398

8.6 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

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

7.3 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.5%