CVE-2019-3822
Reported by redhat · Published February 6, 2019
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| The curl Project | curl | 7.64.0 |
| The curl Project | curl | 7.64.0 |
| amazon:2 | curl | 0 |
| alpine | curl | 0, 0 |
| amazon:2 | libcurl | 0 |
| arch | lib32-libcurl-gnutls | 0 |
| arch | lib32-curl | 0 |
| arch | curl | 0 |
| amazon:2 | libcurl-devel | 0 |
| arch | lib32-libcurl-compat | 0 |
| arch | libcurl-gnutls | 0 |
Timeline
- Feb 5, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (25 in total, the first dated here)
- Mar 6, 2026 Security Advisory (34 in total, the first dated here)
- Sep 10, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3822
vulnetix vdb fixes CVE-2019-3822
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3822/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-201903-03 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- DSA-4386 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- x_refsource_CONFIRM
- USN-3882-1 vendor-advisoryx_refsource_UBUNTU
- 106950 vdb-entryx_refsource_BID
- [infra-devnull] 20190404 [GitHub] [incubator-openwhisk-runtime-ballerina] falkzoll commented on issue #15: Update to new base image jdk8u202-b08_openj9-0.12.1. mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2019:3701 vendor-advisoryx_refsource_REDHAT