CRITICAL SEVERITY

CVE-2019-3822

Libcurl vulnerability

CVSS
9.8
EPSS
12.8%
EPSS pct
96th
Exploited
No known
libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow. The function creating an outgoing NTLM type-3 header (`lib/vauth/ntlm.c:Curl_auth_create_ntlm_type3_message()`), generates the request HTTP header contents based on previously received data. The check that exists to prevent the local buffer from getting overflowed is implemented wrongly (using unsigned math) and as such it does not prevent the overflow from happening. This output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by the malicious or broken HTTP server. Such a 'large value' needs to be around 1000 bytes or more. The actual payload data copied to the target buffer comes from the NTLMv2 type-2 response header.
Affected vendor
Haxx
Affected product
Libcurl
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness type (CWE)
  • CWE-121 — Stack-based Buffer Overflow
  • CWE-787 — Out-of-bounds Write
Published
2019-02-06

Risk analysis

Based on its CVSS vector, this vulnerability is exploitable over the network, low attack complexity, requiring no privileges, no user interaction. Successful exploitation leads to high impact to confidentiality, high impact to integrity, high impact to availability.

Its EPSS score of 12.8% reflects a moderate probability of exploitation activity in the wild over the next 30 days, placing it above 96% of all scored CVEs.

Check your external exposure to CVE-2019-3822

  • Confirm whether Haxx Libcurl is running on any internet-facing host or subdomain.
  • Match discovered service fingerprints against the version affected by CVE-2019-3822.
  • Prioritise remediation if the asset is public, business-critical, or near authentication/payment flows.

How ThreatPort helps with CVE-2019-3822

ThreatPort's external attack surface scanner checks your internet-facing assets — agentlessly, from the outside in — for the exposed services and versions that CVE-2019-3822 affects, then prioritises the finding by real risk using CISA KEV and FIRST.org EPSS.

Run a free external exposure scan

Are you exposed to CVE-2019-3822?

Run an instant, non-intrusive external scan to check your attack surface for CVE-2019-3822.

Start free scan

No credit card. Agentless.