CVE-2019-3822
published 2019-02-06CVE-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…
PriorityP261critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
12.77%
95.8th percentile
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
28 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | curl | < curl 7.64.0-1 (bookworm) | curl 7.64.0-1 (bookworm) |
| debian | debian_linux | — | — |
| haxx | curl | >= 0 < 7.64.0-1 | 7.64.0-1 |
| haxx | curl | >= 0 < 7.64.0-1 | 7.64.0-1 |
| haxx | curl | >= 0 < 7.64.0-1 | 7.64.0-1 |
| haxx | curl | >= 0 < 7.64.0-1 | 7.64.0-1 |
| haxx | curl | >= 0 < 7.35.0-1ubuntu2.20 | 7.35.0-1ubuntu2.20 |
| haxx | curl | >= 0 < 7.47.0-1ubuntu2.12 | 7.47.0-1ubuntu2.12 |
| haxx | curl | >= 0 < 7.58.0-2ubuntu3.6 | 7.58.0-2ubuntu3.6 |
| haxx | libcurl | >= 7.36.0 < 7.64.0 | 7.64.0 |
| netapp | active_iq_unified_manager | >= 7.3 | — |
| netapp | active_iq_unified_manager | >= 9.5 | — |
| oracle | communications_operations_monitor | — | — |
| oracle | communications_operations_monitor | — | — |
| oracle | enterprise_manager_ops_center | — | — |
| oracle | enterprise_manager_ops_center | — | — |
| oracle | http_server | — | — |
| oracle | mysql_server | <= 5.7.26 | — |
| oracle | mysql_server | 5.7.27 – 8.0.15 | — |
| oracle | secure_global_desktop | — | — |
| oracle | services_tools_bundle | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for stack-based buffer overflow triggered in Curl_auth_create_ntlm_type3_message() when processing NTLMv2 type-2 response headers containing 'nt response' data of approximately 1000 bytes or more from a server. ↗
- →The actual overflow payload originates from the NTLMv2 type-2 response header sent by the server; inspect HTTP responses containing oversized NTLMv2 type-2 headers in NTLM authentication exchanges. ↗
- →On Linux systems with StackGuard/stack canary enabled, exploitation will likely manifest as a crash (__stack_chk_fail) rather than code execution; monitor for abnormal curl process terminations during NTLM authentication. ↗
- →Affected libcurl versions are 7.36.0 through 7.63.x; flag any curl/libcurl instances in this version range that are performing NTLM authentication against external servers. ↗
- ·Red Hat Enterprise Linux 5, 6, and 7 ship curl versions that do not support NTLMv2 type-3 headers and are therefore not affected; do not apply NTLM-specific detections to these platforms. ↗
- ·The vulnerability requires the client to connect to a malicious or attacker-controlled HTTP server that responds with a crafted NTLMv2 type-2 header; it is not exploitable server-side or without NTLM authentication being in use. ↗
- ·No known public exploits specifically target this vulnerability as of the advisory date. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv3.07.1HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
CISA ICS
Siemens SINEMA Remote Connect (Update A)
cisa_ics·2019-04-09·CVSS 7.5
[HIGH] Siemens SINEMA Remote Connect (Update A)
## Archived Content In an effort to keep CISA.gov current, the archive contains outdated information that may not reflect current policy or programs.
ICS Advisory
##
Siemens SINEMA Remote Connect (Update A)
Last RevisedMarch 09, 2021
Alert CodeICSA-19-099-04
## 1. EXECUTIVE SUMMARY
- CVSS v3 8.3
- ATTENTION: Exploitable remotely/low skill level to exploit
- Vendor: Siemens
- Equipment: SINEMA Remote Connect (Client and Server)
- Vulnerabilities: Incorrect Calculation of Buffer Size, Out-of-bounds Read, Stack-based Buffer Overflow, Improper Handling of Insufficient Permissions
## 2. UPDATE INFORMATION
This updated advisory is a follow-up to the original advisory titled ICSA-19-099-04 Siemens SINEMA Remote Connect that was published Apri
Red Hat
curl: NTLMv2 type-3 header stack buffer overflow
vendor_redhat·2019-02-06·CVSS 9.8
CVE-2019-3822 [CRITICAL] CWE-121 curl: NTLMv2 type-3 header stack buffer overflow
curl: NTLMv2 type-3 header stack buffer overflow
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
Ubuntu
curl vulnerabilities
vendor_ubuntu·2019-02-06·CVSS 7.5
CVE-2018-16890 [HIGH] curl vulnerabilities
Title: curl vulnerabilities
Summary: Several security issues were fixed in curl.
Wenxiang Qian discovered that curl incorrectly handled certain NTLM
authentication messages. A remote attacker could possibly use this issue to
cause curl to crash, resulting in a denial of service. This issue only
applied to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-16890)
Wenxiang Qian discovered that curl incorrectly handled certain NTLMv2
authentication messages. A remote attacker could use this issue to cause
curl to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only applied to Ubuntu 16.04 LTS, Ubuntu 18.04
LTS, and Ubuntu 18.10. (CVE-2019-3822)
Brian Carpenter discovered that curl incorrectly handled certain SMTP
responses. A remote att
Debian
CVE-2019-3822: curl - libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based bu...
vendor_debian·2019·CVSS 9.8
CVE-2019-3822 [CRITICAL] CVE-2019-3822: curl - libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based bu...
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 head
GHSA
GHSA-8wr2-mqj7-7vxp: libcurl versions from 7
ghsa_unreviewed·2022-05-13
CVE-2019-3822 [CRITICAL] CWE-787 GHSA-8wr2-mqj7-7vxp: libcurl versions from 7
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 head
OSV
CVE-2019-3822: libcurl versions from 7
osv·2019-02-06·CVSS 9.8
CVE-2019-3822 [CRITICAL] CVE-2019-3822: libcurl versions from 7
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 head
OSV
curl vulnerabilities
osv·2019-02-06·CVSS 7.5
CVE-2018-16890 [HIGH] curl vulnerabilities
curl vulnerabilities
Wenxiang Qian discovered that curl incorrectly handled certain NTLM
authentication messages. A remote attacker could possibly use this issue to
cause curl to crash, resulting in a denial of service. This issue only
applied to Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 18.10.
(CVE-2018-16890)
Wenxiang Qian discovered that curl incorrectly handled certain NTLMv2
authentication messages. A remote attacker could use this issue to cause
curl to crash, resulting in a denial of service, or possibly execute
arbitrary code. This issue only applied to Ubuntu 16.04 LTS, Ubuntu 18.04
LTS, and Ubuntu 18.10. (CVE-2019-3822)
Brian Carpenter discovered that curl incorrectly handled certain SMTP
responses. A remote attacker could possibly use this issue to cause curl to
crash, r
No detection rules found.
No public exploits indexed.
Tenable
Oracle Critical Patch Update For April Contains 297 Fixes
blogs_tenable·2019-04-17
Oracle Critical Patch Update For April Contains 297 Fixes
## Cloud Exposure
Tenable Cloud Security (CNAPP) Request a demo
Tenable Cloud Vulnerability Management Request a demo
Tenable CIEM Request a demo
Secure your cloud
## Vulnerability Exposure
Tenable Vulnerability Management Try for free
Tenable Security Center Request a demo
Tenable Web App Scanning Try for free
Tenable Patch Management Request a demo
Tenable Enclave Security Request a demo
Tenable Attack Surface Management Request a demo
Tenable Nessus Try for free
## AI Exposure
Tenable AI Exposure Request a demo
## OT/IoT Exposure
Tenable OT Security Request a demo
## Identity Exposure
Tenable Identity Exposure Request a demo
## Business needs
Active Directory
AI Security Posture Management (AI-SPM)
AWS security
Azure security
Cloud Security Posture Man
Tenable
Critical Vulnerability in Siemens Spectrum Power (CVE-2019-6579) Patched in Monthly Advisory
blogs_tenable·2019-04-10·CVSS 9.8
[CRITICAL] Critical Vulnerability in Siemens Spectrum Power (CVE-2019-6579) Patched in Monthly Advisory
## Cloud Exposure
Tenable Cloud Security (CNAPP) Request a demo
Tenable Cloud Vulnerability Management Request a demo
Tenable CIEM Request a demo
Secure your cloud
## Vulnerability Exposure
Tenable Vulnerability Management Try for free
Tenable Security Center Request a demo
Tenable Web App Scanning Try for free
Tenable Patch Management Request a demo
Tenable Enclave Security Request a demo
Tenable Attack Surface Management Request a demo
Tenable Nessus Try for free
## AI Exposure
Tenable AI Exposure Request a demo
## OT/IoT Exposure
Tenable OT Security Request a demo
## Identity Exposure
Tenable Identity Exposure Request a demo
## Business needs
Active Directory
AI Security Posture Management (AI-SPM)
AWS security
Azure security
Cloud Security Posture Man
Bugzilla
CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow [fedora-all]
bugzilla·2019-02-06·CVSS 9.8
CVE-2019-3822 [CRITICAL] CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow [fedora-all]
CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions o
Bugzilla
CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow
bugzilla·2019-01-29·CVSS 9.8
CVE-2019-3822 [CRITICAL] CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow
CVE-2019-3822 curl: NTLMv2 type-3 header stack buffer overflow
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 cop
http://www.securityfocus.com/bid/106950https://access.redhat.com/errata/RHSA-2019:3701https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdfhttps://curl.haxx.se/docs/CVE-2019-3822.htmlhttps://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3Ehttps://security.gentoo.org/glsa/201903-03https://security.netapp.com/advisory/ntap-20190315-0001/https://security.netapp.com/advisory/ntap-20190719-0004/https://support.f5.com/csp/article/K84141449https://support.f5.com/csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSShttps://usn.ubuntu.com/3882-1/https://www.debian.org/security/2019/dsa-4386https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.htmlhttp://www.securityfocus.com/bid/106950https://access.redhat.com/errata/RHSA-2019:3701https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822https://cert-portal.siemens.com/productcert/pdf/ssa-436177.pdfhttps://curl.haxx.se/docs/CVE-2019-3822.htmlhttps://lists.apache.org/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3Ehttps://security.gentoo.org/glsa/201903-03https://security.netapp.com/advisory/ntap-20190315-0001/https://security.netapp.com/advisory/ntap-20190719-0004/https://support.f5.com/csp/article/K84141449https://support.f5.com/csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSShttps://usn.ubuntu.com/3882-1/https://www.debian.org/security/2019/dsa-4386https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.htmlhttps://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
2019-02-06
Published