Ubuntu update for curl



Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2022-27780
CVE-2022-27781
CVE-2022-27782
CWE-ID CWE-20
CWE-835
CWE-303
Exploitation vector Network
Public exploit N/A
Vulnerable software
Ubuntu
Operating systems & Components / Operating system

curl (Ubuntu package)
Operating systems & Components / Operating system package or component

libcurl4 (Ubuntu package)
Operating systems & Components / Operating system package or component

libcurl3-nss (Ubuntu package)
Operating systems & Components / Operating system package or component

libcurl3-gnutls (Ubuntu package)
Operating systems & Components / Operating system package or component

Vendor Canonical Ltd.

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU63007

Risk: Low

CVSSv4.0: 1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

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 package curl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

curl (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl4 (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-nss (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-gnutls (Ubuntu package): before 7.58.0-2ubuntu3.18

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5412-1


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) Infinite loop

EUVDB-ID: #VU63008

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

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 package curl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

curl (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl4 (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-nss (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-gnutls (Ubuntu package): before 7.58.0-2ubuntu3.18

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5412-1


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) Incorrect Implementation of Authentication Algorithm

EUVDB-ID: #VU63009

Risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

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 package curl to the latest version.

Vulnerable software versions

Ubuntu: 18.04 - 22.04

curl (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl4 (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-nss (Ubuntu package): before 7.58.0-2ubuntu3.18

libcurl3-gnutls (Ubuntu package): before 7.58.0-2ubuntu3.18

CPE2.3 External links

https://ubuntu.com/security/notices/USN-5412-1


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###