Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-6874

4.3 · MEDIUM
Published Jul 24, 2024 haxx CWE-125 EPSS 0.79% (54th pctl)

Overview

CVE-2024-6874 is a medium-severity vulnerability affecting haxx libcurl. It was published on July 24, 2024 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from haxx. Update libcurl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status

Frequently Asked Questions

What is CVE-2024-6874?

CVE-2024-6874 is a medium-severity vulnerability affecting haxx libcurl. It was published on July 24, 2024 and has a CVSS 3.1 base score of 4.3 (MEDIUM).

How severe is CVE-2024-6874?

This vulnerability has a CVSS 3.1 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-6874?

Check the references section for vendor advisories and patches from haxx. Update libcurl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-6874?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-6874 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.