Critical severity · published Feb 6, 2019
CVE-2019-3822
libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow
9.8
CVSS
12.9%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)12.9% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CU
curl · The curl Project
7.64.0 · source: vendor
AI
Active IQ Unified Manager · Netapp
7.3 and later; 9.5 and later · source: NVD
CD
Clustered Data Ontap · Netapp
All versions, or not specified · source: NVD
CO
Communications Operations Monitor · Oracle
3.4; 4.0 · source: NVD
DL
Debian Linux · Debian
9.0 · source: NVD
EL
Enterprise Linux · Redhat
8.0 · source: NVD
EM
Enterprise Manager Ops Center · Oracle
12.3.3; 12.4.0 · source: NVD
HS
Http Server · Oracle
12.2.1.3.0 · source: NVD
LI
Libcurl · Haxx
7.36.0 before 7.64.0 · source: NVD
MS
Mysql Server · Oracle
through 5.7.26; 5.7.27 through 8.0.15 · source: NVD
OI
Oncommand Insight · Netapp
All versions, or not specified · source: NVD
OW
Oncommand Workflow Automation · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-3822
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-3822
Third Party Advisory
http://www.securityfocus.com/bid/106950
Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3701
Exploit
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822
Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf
Patch
https://curl.haxx.se/docs/CVE-2019-3822.html
lists.apache.org
https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E
More from curl
9.8
CVE-2016-8620
The 'globbing' feature in curl before version 7.51.0 has a flaw that leads to integer overflow and out-of-bounds read via user controlled input
9.8
CVE-2016-8619
The function `read_data()` in security.c in curl before version 7.51.0 is vulnerable to memory double free
9.8
CVE-2016-8618
The libcurl API function called `curl_maprintf()` before version 7.51.0 can be tricked into doing a double-free due to an unsafe `size_t` multiplication, on systems using 32 bit…
9.8
CVE-2016-8622
The URL percent-encoding decode function in libcurl before 7.51.0 is called `curl_easy_unescape`
7.5
CVE-2018-16890
libcurl versions from 7.36.0 to before 7.64.0 is vulnerable to a heap buffer out-of-bounds read
