CVE-2019-3822

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductHaxx Libcurl
PublishedFeb 6, 2019
First seenFeb 6, 2019
Weakness typeCWE-121CWE-121

How to fix

Affected products

ProductAffected versionsFixed in
haxx libcurl7.36.0 ≤ v < 7.64.07.64.0
canonical ubuntu_linux14.04, 16.04, 18.04, 18.10—
debian debian_linux9.0—
netapp active_iq_unified_manager7.3 ≤ v, 9.5 ≤ v—
netapp clustered_data_ontapNo range specified—
netapp oncommand_insightNo range specified—
netapp oncommand_workflow_automationNo range specified—
netapp snapcenterNo range specified—
siemens sinema_remote_connect_clientv ≤ 2.0—
oracle communications_operations_monitor3.4, 4.0—
oracle enterprise_manager_ops_center12.3.3, 12.4.0—
oracle http_server12.2.1.3.0—
oracle mysql_serverv ≤ 5.7.26, 5.7.27 ≤ v ≤ 8.0.15—
oracle secure_global_desktop5.4—
oracle services_tools_bundle19.2—
redhat enterprise_linux8.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.