CVE-2019-3822
curl: NTLMv2 type-3 header stack buffer overflow
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Photon OS. Daha düşük diyenler: Red Hat (orta), Amazon (orta), Oracle (orta), Ubuntu (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Photon OS 1.0 | curl | 7.59.0-6.ph1 |
| Photon OS 2.0 | curl | 7.59.0-6.ph2 |
| Photon OS 3.0 | cmake, curl | 3.13.5-2.ph3 ve 1 tane daha |
| alpine 3.10 | curl | 7.64.0-r0 |
| alpine 3.11 | curl | 7.64.0-r0 |
| alpine 3.12 | curl | 7.64.0-r0 |
| alpine 3.13 | curl | 7.64.0-r0 |
| alpine 3.14 | curl | 7.64.0-r0 |
| alpine 3.15 | curl | 7.64.0-r0 |
| alpine 3.16 | curl | 7.64.0-r0 |
| alpine 3.17 | curl | 7.64.0-r0 |
| alpine 3.18 | curl | 7.64.0-r0 |
42 kaynaktaki 66 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Photon OS 1.0 | curl | 7.59.0-6.ph1 |
| Photon OS 2.0 | curl | 7.59.0-6.ph2 |
| Photon OS 3.0 | cmake | 3.13.5-2.ph3 |
| Photon OS 3.0 | curl | 7.61.1-3.ph3 |
| alpine 3.10 | curl | 7.64.0-r0 |
| alpine 3.11 | curl | 7.64.0-r0 |
| alpine 3.12 | curl | 7.64.0-r0 |
| alpine 3.13 | curl | 7.64.0-r0 |
| alpine 3.14 | curl | 7.64.0-r0 |
| alpine 3.15 | curl | 7.64.0-r0 |
| alpine 3.16 | curl | 7.64.0-r0 |
| alpine 3.17 | curl | 7.64.0-r0 |
| alpine 3.18 | curl | 7.64.0-r0 |
| alpine 3.19 | curl | 7.64.0-r0 |
| alpine 3.20 | curl | 7.64.0-r0 |
| alpine 3.21 | curl | 7.64.0-r0 |
| alpine 3.22 | curl | 7.64.0-r0 |
| alpine 3.23 | curl | 7.64.0-r0 |
| alpine 3.24 | curl | 7.64.0-r0 |
| alpine 3.6 | curl | 7.61.1-r2 |
| alpine 3.7 | curl | 7.61.1-r2 |
| alpine 3.8 | curl | 7.61.1-r2 |
| alpine 3.9 | curl | 7.64.0-r0 |
| alpine edge | curl | 7.64.0-r0 |
| amazon linux 1 | mysql57 | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-common | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-debuginfo | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-devel | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-embedded | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-embedded-devel | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-errmsg | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-libs | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-server | 5.7.27-1.13.amzn1 |
| amazon linux 1 | mysql57-test | 5.7.27-1.13.amzn1 |
| amazon linux 2 | curl | 7.61.1-9.amzn2.0.1 |
| amazon linux 2 | curl-debuginfo | 7.61.1-9.amzn2.0.1 |
| amazon linux 2 | libcurl | 7.61.1-9.amzn2.0.1 |
| amazon linux 2 | libcurl-devel | 7.61.1-9.amzn2.0.1 |
| debian 11 | curl | 7.64.0-1 |
| debian 12 | curl | 7.64.0-1 |
| debian 13 | curl | 7.64.0-1 |
| debian 14 | curl | 7.64.0-1 |
| debian 8 | curl | 7.38.0-4+deb8u14 |
| debian 9 | curl | 7.52.1-5+deb9u9 |
| echo | curl | 7.64.0-1 |
| Oracle Linux 8 | curl | 7.61.1-11.el8 |
| Oracle Linux 8 | libcurl | 7.61.1-11.el8 |
| Oracle Linux 8 | libcurl-devel | 7.61.1-11.el8 |
| Oracle Linux 8 | libcurl-minimal | 7.61.1-11.el8 |
| Red Hat | httpd24-curl | düzeltme belirtilmemiş |
| Red Hat | httpd24-libcurl | düzeltme belirtilmemiş |
| Red Hat | httpd24-libcurl-devel | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet21-curl | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet21-libcurl | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet21-libcurl-devel | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet22-curl | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet22-libcurl | düzeltme belirtilmemiş |
| Red Hat | rh-dotnet22-libcurl-devel | düzeltme belirtilmemiş |
| root.io debian 11 | rootio-curl | 7.64.0-1 |
| root.io debian 12 | rootio-curl | 7.64.0-1 |
| root.io debian 13 | rootio-curl | 7.64.0-1 |
| ubuntu 16.04 | curl | 7.47.0-1ubuntu2.12 |
| ubuntu 16.04-ESM | curl | 7.47.0-1ubuntu2.12 |
| ubuntu 18.04 | curl | 7.58.0-2ubuntu3.6 |
| ubuntu 18.04-ESM | curl | 7.58.0-2ubuntu3.6 |
| ubuntu 18.10 | curl | 7.61.0-1ubuntu2.3 |
Referanslar
- http://www.securityfocus.com/bid/106950
- https://access.redhat.com/errata/RHSA-2019:3701
- https://access.redhat.com/security/cve/CVE-2019-3822
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822
- https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdf
- https://curl.haxx.se/docs/CVE-2019-3822.html
- https://linux.oracle.com/cve/CVE-2019-3822.html
- https://linux.oracle.com/errata/ELSA-2019-3701.html
21 referansın hepsi
- https://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f@%3Cdevnull.infra.apache.org%3E
- https://nvd.nist.gov/vuln/detail/CVE-2019-3822
- https://security.gentoo.org/glsa/201903-03
- https://security.netapp.com/advisory/ntap-20190315-0001/
- https://security.netapp.com/advisory/ntap-20190719-0004/
- https://support.f5.com/csp/article/K84141449
- https://support.f5.com/csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSS
- https://ubuntu.com/security/notices/USN-3882-1
- https://usn.ubuntu.com/3882-1/
- https://www.cve.org/CVERecord?id=CVE-2019-3822
- https://www.debian.org/security/2019/dsa-4386
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html