Advisory

UBUNTU-CVE-2021-22925

Also known as: CVE-2021-22925

Summary

The record has no summary.

Details

curl supports the -t command line option, known as CURLOPT_TELNETOPTIONSin libcurl. This rarely used option is used to send variable=content pairs toTELNET servers.Due to flaw in the option parser for sending NEW_ENV variables, libcurlcould be made to pass on uninitialized data from a stack based buffer to theserver. Therefore potentially revealing sensitive internal information to theserver using a clear-text network protocol.This could happen because curl did not call and use sscanf() correctly whenparsing the string provided by the application.

Severity

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

Dates

Published
2021-07-21 00:00 UTC
Modified
2026-04-27 09:13 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

7.58.0-2ubuntu3.14

Fix

  • Fixed version 7.58.0-2ubuntu3.14
    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 20.04

Affected

  • introduced 0, fixed 7.68.0-1ubuntu2.6 (ecosystem)

Fixed versions

7.68.0-1ubuntu2.6

Fix

  • Fixed version 7.68.0-1ubuntu2.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