Authentication Bypass by Spoofing Affecting libcurl package, versions [7.85.0,8.8.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.46% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-LIBCURL-10076475
  • published8 May 2025
  • disclosed27 Mar 2024
  • creditDan Fandrich

Introduced: 27 Mar 2024

CVE-2024-2004  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade libcurl to version 8.8.0 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing due to an error in the logic for removing protocols. This flaw allows a command that explicitly disables all protocols to still perform requests using the default set of protocols. This issue is triggered when the set of selected protocols disables the entire set of available protocols, which is a command with no practical use and, thus, unlikely to be encountered in real situations.

Note

Inspect any scripts that construct curl commands with --proto options to ensure at least one allowed protocol.

CVSS Base Scores

version 3.1