Amazon Linux AMI update for curl



Published: 2024-08-06
Risk Medium
Patch available YES
Number of vulnerabilities 20
CVE-ID CVE-2022-22576
CVE-2022-27774
CVE-2022-27775
CVE-2022-27776
CVE-2022-27779
CVE-2022-27780
CVE-2022-27781
CVE-2022-27782
CVE-2022-30115
CVE-2022-32205
CVE-2022-32206
CVE-2022-32207
CVE-2022-32208
CVE-2022-32221
CVE-2022-35252
CVE-2022-35260
CVE-2022-42915
CVE-2022-42916
CVE-2022-43551
CVE-2022-43552
CWE-ID CWE-287
CWE-200
CWE-399
CWE-20
CWE-835
CWE-303
CWE-319
CWE-400
CWE-276
CWE-347
CWE-440
CWE-121
CWE-415
CWE-254
CWE-416
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Amazon Linux AMI
Operating systems & Components / Operating system

curl
Operating systems & Components / Operating system package or component

Vendor Amazon Web Services

Security Bulletin

This security bulletin contains information about 20 vulnerabilities.

1) Improper Authentication

EUVDB-ID: #VU62640

Risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-22576

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error when re-using OAUTH2 connections for SASL-enabled protocols, such as SMPTP(S), IMAP(S), POP3(S) and LDAP(S) (openldap only). libcurl may reuse OAUTH2-authenticated connections without properly making sure that the connection was authenticated with the same credentials as set for this transfer. As a result, a connection that is successfully created and authenticated with a user name + OAUTH2 bearer can subsequently be erroneously reused even for user + [other OAUTH2 bearer], even though that might not even be a valid bearer.

A remote attacker can exploit this vulnerability against applications intended for use in multi-user environments to bypass authentication and gain unauthorized access to victim's accounts.


Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Information disclosure

EUVDB-ID: #VU62641

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27774

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to curl attempts to follow redirects during authentication process and does not consider different port numbers or protocols to be separate authentication targets. If the web application performs redirection to a different port number of protocol, cURL will allow such redirection and will pass credentials. It could also leak the TLS SRP credentials this way.

By default, curl only allows redirects to HTTP(S) and FTP(S), but can be asked to allow redirects to all protocols curl supports.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Resource management error

EUVDB-ID: #VU62643

Risk: Low

CVSSv3.1: 3.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27775

CWE-ID: CWE-399 - Resource Management Errors

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to improper management of internal resources when handling IPv6 protocol. Due to errors in the logic, the config matching function did not take the IPv6 address zone id into account which could lead to libcurl reusing the wrong connection when one transfer uses a zone id and a subsequent transfer uses another (or no) zone id.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Information disclosure

EUVDB-ID: #VU62644

Risk: Low

CVSSv3.1: 3.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27776

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to curl can leak authentication or cookie header data during HTTP redirects to the same host but another port number. When asked to send custom headers or cookies in its HTTP requests, curl sends that set of headers only to the host which name is used in the initial URL, so that redirects to other hosts will make curl send the data to those. However, due to a flawed check, curl wrongly also sends that same set of headers to the hosts that are identical to the first one but use a different port number or URL scheme.

The vulnerability exists due to an incomplete fix for #VU10224 (CVE-2018-1000007).

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Information disclosure

EUVDB-ID: #VU63005

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27779

CWE-ID: CWE-200 - Information exposure

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to libcurl wrongly allows HTTP cookies to be set for Top Level Domains (TLDs) if the host name is provided with a trailing dot. As a result, an attacker can create cookie files that are later sent to a different and unrelated site or domain.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

6) Input validation error

EUVDB-ID: #VU63007

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27780

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass filters and checks.

The vulnerability exists due to the curl URL parser wrongly accepts percent-encoded URL separators like '/' when decoding the host name part of a URL, making it a different URL using the wrong host name when it is later retrieved. For example, the URL like http://example.com%2F10.0.0.1/, would be allowed by the parser and get transposed into http://example.com/10.0.0.1/.

A remote attacker can bypass various internal filters and checks and force the curl to connect to a wrong web application.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

7) Infinite loop

EUVDB-ID: #VU63008

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27781

CWE-ID: CWE-835 - Loop with Unreachable Exit Condition ('Infinite Loop')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to infinite loop when handling requests with the CURLOPT_CERTINFO option. A remote attacker can consume all available system resources and cause denial of service conditions.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

8) Incorrect Implementation of Authentication Algorithm

EUVDB-ID: #VU63009

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-27782

CWE-ID: CWE-303 - Incorrect Implementation of Authentication Algorithm

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the way libcurl handles previously used connections in a connection pool for subsequent transfers. Several TLS and SSH settings were left out from the configuration match checks, resulting in erroneous matches for different resources. As a result, libcurl can send authentication string from one resource to another, exposing credentials to a third-party.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

9) Cleartext transmission of sensitive information

EUVDB-ID: #VU63011

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-30115

CWE-ID: CWE-319 - Cleartext Transmission of Sensitive Information

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to an error in HSTS implementation that can allow curl to continue using HTTP protocol instead of HTTPS if the host name in the given URL used a trailing dot while not using one when it built the HSTS cache. A remote attacker with ability to intercept traffic can obtain potentially sensitive information.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

10) Resource exhaustion

EUVDB-ID: #VU64681

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32205

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to curl does not impose limits to the size of cookies stored in the system. A malicious server can serve excessive amounts of Set-Cookie: headers in a HTTP response to curl and consume all available disk space.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

11) Resource exhaustion

EUVDB-ID: #VU64682

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32206

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insecure processing of compressed HTTP responses. A malicious server can send a specially crafted HTTP response to curl and perform a denial of service attack by forcing curl to spend enormous amounts of allocated heap memory, or trying to and returning out of memory errors.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

12) Incorrect default permissions

EUVDB-ID: #VU64684

Risk: Low

CVSSv3.1: 2.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32207

CWE-ID: CWE-276 - Incorrect Default Permissions

Exploit availability: No

Description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to incorrect default permissions set to cookies, alt-svc and hsts data stored in local files. A local user with ability to read such files can gain access to potentially sensitive information.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

13) Improper Verification of Cryptographic Signature

EUVDB-ID: #VU64685

Risk: Medium

CVSSv3.1: 4.2 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32208

CWE-ID: CWE-347 - Improper Verification of Cryptographic Signature

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to improper handling of message verification failures when performing FTP transfers secured by krb5. A remote attacker can perform MitM attack and manipulate data.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

14) Expected behavior violation

EUVDB-ID: #VU68746

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-32221

CWE-ID: CWE-440 - Expected Behavior Violation

Exploit availability: No

Description

The vulnerability allows a remote attacker to force unexpected application behavior.

The vulnerability exists due to a logic error for a reused handle when processing subsequent HTTP PUT and POST requests. The libcurl can erroneously use the read callback (CURLOPT_READFUNCTION) to ask for data to send, even when the CURLOPT_POSTFIELDS option has been set, if the same handle previously was used to issue a PUT request, which used that callback. As a result, such behavior can influence application flow and force unpredictable outcome.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

15) Input validation error

EUVDB-ID: #VU66881

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-35252

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the way curl handles cookies with control codes (byte values below 32). When cookies that contain such control codes are later sent back to an HTTP(S) server, it might make the server return a 400 response, effectively allowing a "sister site" to deny service to siblings.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

16) Stack-based buffer overflow

EUVDB-ID: #VU68747

Risk: Low

CVSSv3.1: 2.9 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-35260

CWE-ID: CWE-121 - Stack-based buffer overflow

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error when parsing .netrc file. A local user can pass a specially crafted file to the curl, trigger a stack-based buffer overflow and perform a denial of service (DoS) attack.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

17) Double Free

EUVDB-ID: #VU68748

Risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-42915

CWE-ID: CWE-415 - Double Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing non-200 proxy HTTP responses for the following schemes: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, telnet. A remote attacker can trigger a double free error by forcing the application into connecting to resources that are not allowed by the configured proxy.


Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

18) Cleartext transmission of sensitive information

EUVDB-ID: #VU68749

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-42916

CWE-ID: CWE-319 - Cleartext Transmission of Sensitive Information

Exploit availability: No

Description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to an error when parsing URL with IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. A remote attacker can bypass curl's HSTS check and trick it into using unencrypted HTTP protocol.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

19) Security features bypass

EUVDB-ID: #VU70457

Risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-43551

CWE-ID: CWE-254 - Security Features

Exploit availability: No

Description

The vulnerability allows an attacker to gain access to sensitive information.

The vulnerability exists in the way curl handles IDN characters in hostnames. The HSTS mechanism could be bypassed if the hostname in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Then in a subsequent request it does not detect the HSTS state and makes a clear text transfer.

Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

20) Use-after-free

EUVDB-ID: #VU70456

Risk: Low

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-43552

CWE-ID: CWE-416 - Use After Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a use-after-free error while processing denied requests from HTTP proxies when using SMB or TELNET protocols. A remote attacker can trigger a use-after-free error and crash the application.


Mitigation

Update the affected packages:

aarch64:
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-debugsource-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    curl-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    curl-minimal-7.87.0-2.amzn2023.0.2.aarch64
    libcurl-devel-7.87.0-2.amzn2023.0.2.aarch64

src:
    curl-7.87.0-2.amzn2023.0.2.src

x86_64:
    curl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-debugsource-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-7.87.0-2.amzn2023.0.2.x86_64
    curl-minimal-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-minimal-debuginfo-7.87.0-2.amzn2023.0.2.x86_64
    curl-7.87.0-2.amzn2023.0.2.x86_64
    libcurl-devel-7.87.0-2.amzn2023.0.2.x86_64

Vulnerable software versions

Amazon Linux AMI: All versions

curl: before 7.87.0-2

External links

http://alas.aws.amazon.com/AL2023/ALAS-2023-083.html


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###