libcURL up to 7.63.x lib/vauth/ntlm.c Curl_auth_create_ntlm_type3_message HTTP Header memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.0$0-$5k0.00

Summaryinfo

A vulnerability described as critical has been identified in libcURL up to 7.63.x. This issue affects the function Curl_auth_create_ntlm_type3_message in the library lib/vauth/ntlm.c. Executing a manipulation as part of HTTP Header can lead to memory corruption. This vulnerability appears as CVE-2019-3822. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability classified as critical was found in libcURL up to 7.63.x (Network Utility Software). This vulnerability affects the function Curl_auth_create_ntlm_type3_message in the library lib/vauth/ntlm.c. The manipulation as part of a HTTP Header leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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.

The bug was discovered 02/06/2019. The weakness was presented 02/06/2019 with Tencent as confirmed bug report (Bugzilla). The advisory is available at bugzilla.redhat.com. This vulnerability was named CVE-2019-3822 since 01/03/2019. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 236591 (Alibaba Cloud Linux 3 : 0078: curl (ALINUX3-SA-2021:0078)), which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197366 (Ubuntu Security Notification for Curl Vulnerabilities (USN-3882-1)).

Upgrading to version 7.36.0 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (236591) and SecurityFocus (BID 106947†). See VDB-130579, VDB-130619, VDB-133589 and VDB-133491 for similar entries. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 8.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CNA Base Score: 7.1
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 236591
Nessus Name: Alibaba Cloud Linux 3 : 0078: curl (ALINUX3-SA-2021:0078)

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libcURL 7.36.0

Timelineinfo

01/03/2019 🔍
02/06/2019 +34 days 🔍
02/06/2019 +0 days 🔍
02/06/2019 +0 days 🔍
02/07/2019 +1 days 🔍
05/20/2025 +2294 days 🔍

Sourcesinfo

Advisory: RHSA-2019:3701
Organization: Tencent
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2019-3822 (🔍)
GCVE (CVE): GCVE-0-2019-3822
GCVE (VulDB): GCVE-100-130618
SecurityFocus: 106947 - cURL/libcURL CVE-2018-16890 Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 02/07/2019 09:30
Updated: 05/20/2025 18:58
Changes: 02/07/2019 09:30 (64), 05/08/2020 21:14 (5), 07/06/2023 15:29 (4), 07/06/2023 15:34 (12), 05/20/2025 18:58 (16)
Complete: 🔍
Cache ID: 216:345:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!