Rocky Linux 9 : curl (RLSA-2022:6157)

critical Nessus Plugin ID 184926

Synopsis

The remote Rocky Linux host is missing one or more security updates.

Description

The remote Rocky Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RLSA-2022:6157 advisory.

- curl < 7.84.0 supports chained HTTP compression algorithms, meaning that a serverresponse can be compressed multiple times and potentially with different algorithms. The number of acceptable links in this decompression chain was unbounded, allowing a malicious server to insert a virtually unlimited number of compression steps.The use of such a decompression chain could result in a malloc bomb, makingcurl end up spending enormous amounts of allocated heap memory, or trying toand returning out of memory errors. (CVE-2022-32206)

- When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.In that rename operation, it might accidentally *widen* the permissions for the target file, leaving the updated file accessible to more users than intended. (CVE-2022-32207)

- When curl < 7.84.0 does FTP transfers secured by krb5, it handles message verification failures wrongly.
This flaw makes it possible for a Man-In-The-Middle attack to go unnoticed and even allows it to inject data to the client. (CVE-2022-32208)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://errata.rockylinux.org/RLSA-2022:6157

https://bugzilla.redhat.com/show_bug.cgi?id=2099300

https://bugzilla.redhat.com/show_bug.cgi?id=2099305

https://bugzilla.redhat.com/show_bug.cgi?id=2099306

Plugin Details

Severity: Critical

ID: 184926

File Name: rocky_linux_RLSA-2022-6157.nasl

Version: 1.1

Type: local

Published: 11/7/2023

Updated: 11/14/2023

Supported Sensors: Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2022-32207

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:rocky:linux:9, p-cpe:/a:rocky:linux:libcurl-debuginfo, p-cpe:/a:rocky:linux:curl, p-cpe:/a:rocky:linux:curl-minimal-debuginfo, p-cpe:/a:rocky:linux:libcurl-minimal-debuginfo, p-cpe:/a:rocky:linux:curl-debugsource, p-cpe:/a:rocky:linux:curl-minimal, p-cpe:/a:rocky:linux:curl-debuginfo, p-cpe:/a:rocky:linux:libcurl-minimal, p-cpe:/a:rocky:linux:libcurl-devel, p-cpe:/a:rocky:linux:libcurl

Required KB Items: Host/local_checks_enabled, Host/RockyLinux/release, Host/RockyLinux/rpm-list, Host/cpu

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/24/2022

Vulnerability Publication Date: 6/27/2022

Reference Information

CVE: CVE-2022-32206, CVE-2022-32207, CVE-2022-32208

IAVA: 2022-A-0255-S