CVE-2019-3822 in the critical feed json
libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow.
published 7y ago modified 4mo ago also EUVD-2019-13445
- cvss
- 7.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.9%
- EPSS 12.9% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- haxx libcurl 7.64.0
- curl Debian 14, Debian 13, Debian 12 7.64.0-1
debian advisories DEBIAN-CVE-2019-3822
- curl Ubuntu 16.04 LTS 7.47.0-1ubuntu2.12
- curl Ubuntu 18.04 LTS 7.58.0-2ubuntu3.6
ubuntu advisories UBUNTU-CVE-2019-3822
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- curl RHEL 8 7.61.1-11.el8
- libcurl RHEL 8 7.61.1-11.el8
- libcurl-minimal RHEL 8 7.61.1-11.el8
red hat advisories RHSA-2019:3701
- curl SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +9 more 7.37.0-37.34.1
- curl SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 7.60.0-4.3.1
- curl SLE Module for Basesystem 15 7.60.0-3.17.1
suse advisories SUSE-SU-2019:0249-2SUSE-SU-2019:0339-1SUSE-SU-2019:0249-1SUSE-SU-2019:0248-1
- curl openSUSE Tumbleweed 7.79.1-1.1
- curl openSUSE Leap 15.0 7.60.0-lp150.2.18.1
- curl-mini openSUSE Leap 15.0 7.60.0-lp150.2.18.1
opensuse advisories openSUSE-SU-2024:10582-1openSUSE-SU-2019:0174-1
- curl Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 7.64.0-r0
- curl Alpine 3.8, Alpine 3.7, Alpine 3.6 7.61.1-r2
alpine advisories ALPINE-CVE-2019-3822
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 advisory
- curl.haxx.se/docs/CVE-2019-3822.html advisory
- security.netapp.com/advisory/ntap-20190315-0001/ advisory
- oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html advisory
- oracle.com/technetwork/security-advisory/cpujul2019-5072835.html advisory
Is CVE-2019-3822 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-3822 updated cvss 5.3
curl: NTLMv2 type-3 header stack buffer overflow
-
Red Hat .NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Red Hat .NET Core 1.1 on Red Hat Enterprise Linux rh-dotnetcore11-curl Red Hat .NET Core 2.1 on Red Hat Enterprise Linux rh-dotnet21-curl, rh-dotnet21-libcurl Red Hat .NET Core 2.2 on Red Hat Enterprise Linux rh-dotnet22-curl, rh-dotnet22-libcurlaffected: workaround, no fix planned “Turn off NTLM authentication.”
-
Red Hat JBoss Core Services jbcs-httpd24-curl jbcs-httpd24-curlaffected: workaround, no fix available “Turn off NTLM authentication.”
-
Red Hat Software Collections httpd24-curl, httpd24-libcurlaffected: workaround, no fix planned “Turn off NTLM authentication.”
-
Red Hat JBoss Core Services Apache HTTP Server 2.4.29 SP2fixed: vendor fix “Turn off NTLM authentication.” RHSA-2019:1543
-
Red Hat Enterprise Linux BaseOS (v. 8) curl 7.61.1-11.el8, libcurl 7.61.1-11.el8, libcurl-minimal 7.61.1-11.el8fixed: vendor fix “Turn off NTLM authentication.” RHSA-2019:3701
-
Red Hat Enterprise Linux 5 curl Red Hat Enterprise Linux 6 curl, libcurl Red Hat Enterprise Linux 7 curl, libcurl Red Hat JBoss Web Server 5 curlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-19-099-04 updated cvss 8.1
Siemens SINEMA Remote Connect (Update A)
-
Siemens SINEMA Remote Connect Client All versions < V2.0 HF1affected: fixed in V2.0, mitigation support.industry.siemens.com
-
Siemens SINEMA Remote Connect Server All versions < V2.0affected: vendor fix, mitigation
From CISA ICS and IT advisories (CSAF, https://github.com/cisagov/CSAF), a U.S. Government work; changed: reduced to products, statuses and remediations. CISA notification · csaf
cisa ICSA-21-068-10 updated cvss 8.1
Siemens SCALANCE and SIMATIC libcurl (Update B)
-
Siemens SINEMA Remote Connect Client <V2.0_HF1affected: fixed in V2.0, mitigation
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 6mo ago
Exploit prediction
12.87% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3822 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected products
- The curl Project curl
Classification
- Weakness
- Technology feeds
References
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-3822
exploit, issue-tracking, patch, third-party-advisory
-
curl.haxx.se
/docs/CVE-2019-3822.html
patch, vendor-advisory
-
security.netapp.com
/advisory/ntap-20190315-0001/
patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpuapr2019-5072813.html
patch, third-party-advisory
-
oracle.com
/technetwork/security-advisory/cpujul2019-5072835.html
patch, third-party-advisory
-
security.gentoo.org
/glsa/201903-03
vendor-advisory, third-party-advisory
-
debian.org
/security/2019/dsa-4386
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3882-1/
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:3701
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/106950
vdb-entry, third-party-advisory
-
lists.apache.org
/thread.html/8338a0f605bdbb3a6098bb76f666a95fc2b2f53f37fa1ecc89f1146f%40%3Cdevnull.infra.apache.org%3E
mailing-list
-
cert-portal.siemens.com
/productcert/pdf/ssa-436177.pdf
third-party-advisory
-
security.netapp.com
/advisory/ntap-20190719-0004/
third-party-advisory
-
support.f5.com
/csp/article/K84141449
third-party-advisory
- support.f5.com /csp/article/K84141449?utm_source=f5support&%3Butm_medium=RSS
Sources
- CVE List CVE-2019-3822
- NVD CVE-2019-3822
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.