← All CVEs

CVE-2019-3822

critical · 9.8

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.

9.8
CVSS
12.9%
EPSS (exploit prob.)
96th
EPSS percentile
2019-02-06
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-121CWE-787

Affected products

VendorProductAffected versions
haxxlibcurl>= 7.36.0, < 7.64.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
canonicalubuntu_linux18.10
debiandebian_linux9.0
netappactive_iq_unified_manager>= 7.3
netappactive_iq_unified_manager>= 9.5
netappclustered_data_ontapall versions
netapponcommand_insightall versions
netapponcommand_workflow_automationall versions
netappsnapcenterall versions
siemenssinema_remote_connect_client<= 2.0
oraclecommunications_operations_monitor3.4
oraclecommunications_operations_monitor4.0
oracleenterprise_manager_ops_center12.3.3
oracleenterprise_manager_ops_center12.4.0
oraclehttp_server12.2.1.3.0
oraclemysql_server<= 5.7.26
oraclemysql_server>= 5.7.27, <= 8.0.15
oraclesecure_global_desktop5.4
oracleservices_tools_bundle19.2
redhatenterprise_linux8.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2019-3822