CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Haxx

CVE-2023-38545
Haxx Libcurl vulnerability

This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy handshake. When curl is asked to pass along the host name to the SOCKS5 proxy to allow that to resolve the address instead of it getting done by curl itself, the maximum length that host name can be is 255 bytes. If the host name is detected to be longer, curl switches to local name resolving and instead passes on the resolved address only. Due to this bug, the local variable that means "let the host resolve the name" could get the wrong value during a slow SOCKS5 handshake, and contrary to the intention, copy the too long host name to the target buffer instead of copying just the resolved address there. The target buffer being a heap based buffer, and the host name coming from the URL that curl has been told to operate with.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Libcurl, Fedora, Active Iq Unified Manager, Oncommand Insight, Oncommand Workflow Automation, Windows 10 1809, Windows 10 21h2, Windows 10 22h2, Windows 11 21h2, Windows 11 22h2 and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Haxx Libcurl runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Haxx products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.