Azure Linux 3.0 Security Update: cmake / curl (CVE-2024-6874)

medium Nessus Plugin ID 295216

Synopsis

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

Description

The version of cmake / curl installed on the remote Azure Linux 3.0 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the CVE-2024-6874 advisory.

- libcurl's URL API function [curl_url_get()](https://curl.se/libcurl/c/curl_url_get.html) offers punycode conversions, to and from IDN. Asking to convert a name that is exactly 256 bytes, libcurl ends up reading outside of a stack based buffer when built to use the *macidn* IDN backend. The conversion function then fills up the provided buffer exactly - but does not null terminate the string. This flaw can lead to stack contents accidently getting returned as part of the converted string. (CVE-2024-6874)

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://nvd.nist.gov/vuln/detail/CVE-2024-6874

Plugin Details

Severity: Medium

ID: 295216

File Name: azure_linux_CVE-2024-6874.nasl

Version: 1.1

Type: local

Published: 1/22/2026

Updated: 1/22/2026

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 2.2

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

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

CVSS Score Source: CVE-2024-6874

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

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

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

Vulnerability Information

CPE: p-cpe:/a:microsoft:azure_linux:cmake, p-cpe:/a:microsoft:azure_linux:curl-libs, x-cpe:/o:microsoft:azure_linux, p-cpe:/a:microsoft:azure_linux:curl, p-cpe:/a:microsoft:azure_linux:curl-debuginfo, p-cpe:/a:microsoft:azure_linux:curl-devel, p-cpe:/a:microsoft:azure_linux:cmake-debuginfo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/11/2025

Vulnerability Publication Date: 7/24/2024

Reference Information

CVE: CVE-2024-6874

IAVA: 2024-A-0446-S