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_messag...
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/curl(Debian:12) | < 7.64.0-1 | 7.64.0-1 |
| debian/curl(Debian:13) | < 7.64.0-1 | 7.64.0-1 |
| debian/curl(Debian:14) | < 7.64.0-1 | 7.64.0-1 |
| haxx libcurl | >= 7.36.0, < 7.64.0 | 7.64.0 |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.10 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| netapp active iq unified manager | >= 7.3 | No fix listed |
| netapp active iq unified manager | >= 9.5 | No fix listed |
| netapp clustered data ontap | All versions | No fix listed |
| netapp oncommand insight | All versions | No fix listed |
| netapp oncommand workflow automation | All versions | No fix listed |
| netapp snapcenter | All versions | No fix listed |
| Siemens sinema remote connect client | <= 2.0 | No fix listed |
| oracle communications operations monitor | = 3.4 | No fix listed |
| oracle communications operations monitor | = 4.0 | No fix listed |
| oracle enterprise manager ops center | = 12.3.3 | No fix listed |
| oracle enterprise manager ops center | = 12.4.0 | No fix listed |
| oracle http server | = 12.2.1.3.0 | No fix listed |
| oracle mysql server | <= 5.7.26 | No fix listed |
| oracle mysql server | >= 5.7.27, <= 8.0.15 | No fix listed |
| oracle secure global desktop | = 5.4 | No fix listed |
| oracle services tools bundle | = 19.2 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux | = 8.0 | No fix listed |
| alpine/curl(Alpine:v3.10) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.11) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.12) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.13) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.14) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.15) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.16) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.17) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.18) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.19) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.20) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.21) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.22) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.23) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.24) | < 7.64.0-r0 | 7.64.0-r0 |
| alpine/curl(Alpine:v3.6) | < 7.61.1-r2 | 7.61.1-r2 |
| alpine/curl(Alpine:v3.7) | < 7.61.1-r2 | 7.61.1-r2 |
| alpine/curl(Alpine:v3.8) | < 7.61.1-r2 | 7.61.1-r2 |
| alpine/curl(Alpine:v3.9) | < 7.64.0-r0 | 7.64.0-r0 |
| The curl Project curl | = 7.64.0 | No fix listed |
References
- Debian Security Tracker CVE-2019-3822 vendor-advisory
- 106950 third-party-advisory vdb-entry
- RHSA-2019:3701 third-party-advisory vendor-advisory
- bugzilla.redhat.com exploit issue-tracking patch third-party-advisory
- cert-portal.siemens.com third-party-advisory
- curl.haxx.se patch vendor-advisory
- [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-list
- GLSA-201903-03 third-party-advisory vendor-advisory
- security.netapp.com patch third-party-advisory
- security.netapp.com third-party-advisory
- support.f5.com third-party-advisory
- support.f5.com
- USN-3882-1 third-party-advisory vendor-advisory
- DSA-4386 third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- www.oracle.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory