CVE-2019-3822

CRITICALCVSS 9.8/10EPSS 12.77%

Last modified

CVE-2019-3822 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 12.77% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

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

EPSS Probability
12.77%

95.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-3822?
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.
How severe is CVE-2019-3822?
CVE-2019-3822 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 12.77% probability of exploitation in the next 30 days.
How do I fix CVE-2019-3822?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-3822?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST