Advisory

UBUNTU-CVE-2019-3822

Also known as: CVE-2019-3822

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-02-06 00:00 UTC
Modified
2026-04-22 11:57 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.47.0-1ubuntu2.12 (ecosystem)

Fixed versions

7.47.0-1ubuntu2.12

Fix

  • Fixed version 7.47.0-1ubuntu2.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.58.0-2ubuntu3.6 (ecosystem)

Fixed versions

7.58.0-2ubuntu3.6

Fix

  • Fixed version 7.58.0-2ubuntu3.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences