Alpine: libcurl, multiple curl packages: security update to 8.21.0-r0

critical Tenable Cloud Security Plugin ID 482867

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- When a libcurl-based application performs transfers via `SCP://` or `SFTP://` and utilizes the
`CURLOPT_SSH_KEYFUNCTION` callback, it may silently accept an untrusted server. This vulnerability occurs
when a server presents a host key type that does not match the specific key type already recorded for that
host in the `known_hosts` file. Instead of rejecting the mismatch, the callback mechanism fails to
properly enforce the restriction, allowing the connection to succeed without warning and risking a
potential man-in-the-middle attack. (CVE-2026-9547)

- A vulnerability exists where a new transfer that uses STARTTLS to upgrade the connection might reuse an
existing live connection even though the TLS configuration mismatches so it should not. (CVE-2026-8286)

- libcurl might in some circumstances reuse the wrong connection when asked to do Negotiate-authenticated
ones, even when they are set to use different "services". libcurl features a pool of recent connections so
that subsequent requests can reuse an existing connection to avoid overhead. When reusing a connection a
range of criteria must be met. Due to a logical error in the code, a request that was issued by an
application could wrongfully reuse an existing connection to the same server that was authenticated using
different services. (CVE-2026-8458)

- A flaw in curl’s cookie parsing logic allows a malicious HTTP server to set "super cookies" that bypass
the Public Suffix List check. This enables an attacker-controlled origin to inject cookies that curl
subsequently scopes and transmits to unrelated third-party domains. (CVE-2026-8924)

- The curl logic that works with SASL authentication could end up cleaning up the GSASL context *twice*
without clearing the pointer in between, making it `free()` the same pointer twice. (CVE-2026-8925)

Solution

Update the curl library and its related packages to version 8.21.0-r0 or later.

See Also

https://security.alpinelinux.org/vuln/CVE-2026-10536

https://security.alpinelinux.org/vuln/CVE-2026-11352

https://security.alpinelinux.org/vuln/CVE-2026-11564

https://security.alpinelinux.org/vuln/CVE-2026-11586

https://security.alpinelinux.org/vuln/CVE-2026-11856

https://security.alpinelinux.org/vuln/CVE-2026-12064

https://security.alpinelinux.org/vuln/CVE-2026-8286

https://security.alpinelinux.org/vuln/CVE-2026-8458

https://security.alpinelinux.org/vuln/CVE-2026-8924

https://security.alpinelinux.org/vuln/CVE-2026-8925

https://security.alpinelinux.org/vuln/CVE-2026-8926

https://security.alpinelinux.org/vuln/CVE-2026-8927

https://security.alpinelinux.org/vuln/CVE-2026-8932

https://security.alpinelinux.org/vuln/CVE-2026-9079

https://security.alpinelinux.org/vuln/CVE-2026-9080

https://security.alpinelinux.org/vuln/CVE-2026-9545

https://security.alpinelinux.org/vuln/CVE-2026-9546

https://security.alpinelinux.org/vuln/CVE-2026-9547

Plugin Details

Severity: Critical

ID: 482867

Version: Revision 1.2

Type: Local

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Agentless Assessment

Risk Information

VPR

Risk Factor: Medium

Score: 6.9

Percentile: 96.41

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-2026-9547

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

CVSS Score Source: CVE-2026-9079

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 6/25/2026

Reference Information

CVE: CVE-2026-10536, CVE-2026-11352, CVE-2026-11564, CVE-2026-11586, CVE-2026-11856, CVE-2026-12064, CVE-2026-8286, CVE-2026-8458, CVE-2026-8924, CVE-2026-8925, CVE-2026-8926, CVE-2026-8927, CVE-2026-8932, CVE-2026-9079, CVE-2026-9080, CVE-2026-9545, CVE-2026-9546, CVE-2026-9547

IAVA: 2026-A-0627-S