TROYANOSYVIRUS
Back to CVEs

CVE-2019-3822

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published2/6/2019
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

canonical:ubuntu_linuxdebian:debian_linuxhaxx:libcurlnetapp:active_iq_unified_managernetapp:clustered_data_ontapnetapp:oncommand_insightnetapp:oncommand_workflow_automationnetapp:snapcenteroracle:communications_operations_monitororacle:enterprise_manager_ops_centeroracle:http_serveroracle:mysql_serveroracle:secure_global_desktoporacle:services_tools_bundleredhat:enterprise_linuxsiemens:sinema_remote_connect_client

Weaknesses (CWE)

CWE-121CWE-787

References

https://usn.ubuntu.com/3882-1/(secalert@redhat.com)
http://www.securityfocus.com/bid/106950(af854a3a-2127-422b-91ae-364da2661108)
https://access.redhat.com/errata/RHSA-2019:3701(af854a3a-2127-422b-91ae-364da2661108)
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822(af854a3a-2127-422b-91ae-364da2661108)
https://curl.haxx.se/docs/CVE-2019-3822.html(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/201903-03(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20190315-0001/(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20190719-0004/(af854a3a-2127-422b-91ae-364da2661108)
https://support.f5.com/csp/article/K84141449(af854a3a-2127-422b-91ae-364da2661108)
https://usn.ubuntu.com/3882-1/(af854a3a-2127-422b-91ae-364da2661108)
https://www.debian.org/security/2019/dsa-4386(af854a3a-2127-422b-91ae-364da2661108)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.