Vulnerabilities · 2019 · Haxx
CVE-2019-3822
Haxx Libcurl vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Libcurl, Ubuntu Linux, Debian Linux, Active Iq Unified Manager, Clustered Data Ontap, Oncommand Insight, Oncommand Workflow Automation, Snapcenter, Sinema Remote Connect Client, Communications Operations Monitor 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
- curl.haxx.se/docs/CVE-2019-3822.html · Patch
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 · Exploit
- security.netapp.com/advisory/ntap-20190315-0001/ · Patch
- www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html · Patch
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html · Patch
- www.securityfocus.com/bid/106950 · Third Party Advisory
- access.redhat.com/errata/RHSA-2019:3701 · Third Party Advisory
- cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-3822
- cve.org/CVERecord?id=CVE-2019-3822
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.