PT-2018-2552

CVE-2019-3822

·

Published

2018-12-30

·

Updated

2026-09-18

Description by

CVSS 2.0
10
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions libcurl versions 7.36.0 through 7.64.0 MySQL Server versions 5.7.26 and earlier MySQL Server versions 8.0.15 and earlier
Description The issue is caused by a stack-based buffer overflow in the function Curl auth create ntlm type3 message(), which generates the outgoing NTLM type-3 header. This function creates the request HTTP header contents based on previously received data. The check to prevent the local buffer from getting overflowed is implemented wrongly, using unsigned math, and does not prevent the overflow. The output data can grow larger than the local buffer if very large 'nt response' data is extracted from a previous NTLMv2 header provided by a malicious or broken HTTP server. Such large response data 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.
Recommendations For libcurl versions 7.36.0 through 7.64.0, consider disabling the Curl auth create ntlm type3 message() function until a patch is available. For MySQL Server versions 5.7.26 and earlier, update to a version later than 5.7.26. For MySQL Server versions 8.0.15 and earlier, update to a version later than 8.0.15. As a temporary workaround, restrict access to the NTLMv2 type-2 response header to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2019-1185
ALT-PU-2019-2111
ALT-PU-2019-2216
CESA-2019_3701
CLEANSTART-2026-AY18527
CLEANSTART-2026-BW46578
CLEANSTART-2026-DI23929
CLEANSTART-2026-IB97779
CLEANSTART-2026-LQ42192
CLEANSTART-2026-OF85770
DLA-1672-1
DSA-4386-1
ELSA-2019-3701
OPENSUSE-SU-2019_0173-1
OPENSUSE-SU-2019:0174-1
OPENSUSE-SU-2019_0174-1
OPENSUSE-SU-2024:10582-1
RHSA-2019:3701
RHSA-2019_3701
SUSE-SU-2019:0248-1
SUSE-SU-2019_0248-1
SUSE-SU-2019:0249-1
SUSE-SU-2019_0249-1
SUSE-SU-2019:0249-2
SUSE-SU-2019_0249-2
SUSE-SU-2019:0339-1
SUSE-SU-2019_0339-1
USN-3882-1
Found an issue in the description? Have something to add? Feel free to write us 👾