Curl 8.5.0 < 8.14.0 Improper Certificate Validation (CVE-2025-5025)

medium Nessus Plugin ID 237584

Synopsis

The remote host has a program that is affected by a Improper Certificate Validation vulnerability.

Description

The version of Curl installed on the remote host is is missing security update. It is, therefore, affected by a improper certificate validation vulnerability.

- libcurl supports *pinning* of the server certificate public key for HTTPS transfers. Due to an omission, this check is not performed when connecting with QUIC for HTTP/3, when the TLS backend is wolfSSL. Documentation says the option works with wolfSSL, failing to specify that it does not for QUIC and HTTP/3. Since pinning makes the transfer succeed if the pin is fine, users could unwittingly connect to an impostor server without noticing. (CVE-2025-5025)

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

Solution

Upgrade Curl to version 8.14.0 or later

See Also

https://curl.se/docs/CVE-2025-5025.html

Plugin Details

Severity: Medium

ID: 237584

File Name: curl_CVE-2025-5025.nasl

Version: 1.1

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 5/30/2025

Updated: 5/30/2025

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

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

CVSS Score Source: CVE-2025-5025

CVSS v3

Risk Factor: Medium

Base Score: 6.5

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

Vulnerability Information

CPE: cpe:/a:haxx:curl

Required KB Items: installed_sw/Curl

Patch Publication Date: 5/28/2025

Vulnerability Publication Date: 5/28/2025

Reference Information

CVE: CVE-2025-5025

IAVA: 2025-A-0379