Alpine: curl: security update to 7.58.0-r0

critical Tenable Self-Hosted Container Security Plugin ID 403977

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- libcurl 7.49.0 to and including 7.57.0 contains an out bounds read in code handling HTTP/2 trailers. It
was reported (https://github.com/curl/curl/pull/2231) that reading an HTTP/2 trailer could mess up future
trailers since the stored size was one byte less than required. The problem is that the code that creates
HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `:` to the target buffer,
while this was recently changed to `: ` (a space was added after the colon) but the following math wasn't
updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that
the (too large) data gets passed to client write. This could lead to a denial-of-service situation or an
information disclosure if someone has a service that echoes back or uses the trailers for something.
(CVE-2018-1000005)

See Also

https://security.alpinelinux.org/vuln/CVE-2018-1000005

Plugin Details

Severity: Critical

ID: 403977

Version: Revision 1.24

Type: Local

Published: 10/31/2023

Updated: 3/12/2025

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.04

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2018-1000005

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Vulnerability Publication Date: 1/24/2018

Reference Information

CVE: CVE-2018-1000005