Rocky Linux 9 : curl (RLSA-2023:0333)

critical Nessus Plugin ID 184942

Synopsis

The remote Rocky Linux host is missing a security update.

Description

The remote Rocky Linux 9 host has packages installed that are affected by a vulnerability as referenced in the RLSA-2023:0333 advisory.

- When doing HTTP(S) transfers, libcurl might 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. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST. (CVE-2022-32221)

Note that Nessus has not tested for this issue 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-2023:0333

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

Plugin Details

Severity: Critical

ID: 184942

File Name: rocky_linux_RLSA-2023-0333.nasl

Version: 1.0

Type: local

Published: 11/7/2023

Updated: 11/7/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2022-32221

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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:P/RL:O/RC:C

Vulnerability Information

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

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: 1/23/2023

Vulnerability Publication Date: 10/27/2022

Reference Information

CVE: CVE-2022-32221

IAVA: 2022-A-0451-S