First published: Tue Jan 29 2019(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/curl | <7.64.0 | 7.64.0 |
Haxx Libcurl | >=7.36.0<7.64.0 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =18.04 | |
Canonical Ubuntu Linux | =18.10 | |
Debian Debian Linux | =9.0 | |
Netapp Active Iq Unified Manager Windows | >=7.3 | |
Netapp Active Iq Unified Manager Vsphere | >=9.5 | |
NetApp Clustered Data ONTAP | ||
NetApp OnCommand Insight | ||
NetApp OnCommand Workflow Automation | ||
Netapp Snapcenter | ||
Siemens Sinema Remote Connect Client | <=2.0 | |
Oracle Communications Operations Monitor | =3.4 | |
Oracle Communications Operations Monitor | =4.0 | |
Oracle Enterprise Manager Ops Center | =12.3.3 | |
Oracle Enterprise Manager Ops Center | =12.4.0 | |
Oracle HTTP Server | =12.2.1.3.0 | |
Oracle Mysql Server | <=5.7.26 | |
Oracle Mysql Server | >=5.7.27<=8.0.15 | |
Oracle Secure Global Desktop | =5.4 | |
Oracle Services Tools Bundle | =19.2 | |
Redhat Enterprise Linux | =8.0 | |
ubuntu/curl | <7.58.0-2ubuntu3.6 | 7.58.0-2ubuntu3.6 |
ubuntu/curl | <7.61.0-1ubuntu2.3 | 7.61.0-1ubuntu2.3 |
ubuntu/curl | <7.64.0 | 7.64.0 |
ubuntu/curl | <7.47.0-1ubuntu2.12 | 7.47.0-1ubuntu2.12 |
debian/curl | 7.74.0-1.3+deb11u12 7.74.0-1.3+deb11u11 7.88.1-10+deb12u6 7.88.1-10+deb12u5 8.8.0-4 8.9.1-2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-3822 is a vulnerability in libcurl versions from 7.36.0 to before 7.64.0 that allows a stack-based buffer overflow.
CVE-2019-3822 has a severity rating of 9.8 (Critical).
CVE-2019-3822 affects the curl package in Debian, Red Hat, Canonical Ubuntu Linux, NetApp, Siemens, Oracle, and other software.
To fix CVE-2019-3822, upgrade to version 7.64.0 or later of the libcurl package.
You can find more information about CVE-2019-3822 at the following references: - [CVE-2019-3822](https://curl.haxx.se/docs/CVE-2019-3822.html) - [CVE-2019-3822 Git Commit 1](https://github.com/curl/curl/commit/50c9484278c63b958655a717844f0721263939cc) - [CVE-2019-3822 Git Commit 2](https://github.com/curl/curl/commit/86724581b6c02d160b52f817550cfdfc9c93af62)