---
id: CVE-2021-22925
title: >-
  curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in
  libcurl
summary: >-
  curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in
  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, lib…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-200
  - CWE-908
vendor: haxx
product: curl
affected:
  - 'curl >= 7.7, < 7.78.0'
  - fedora = 33
  - cloud_backup
  - clustered_data_ontap
  - hci_management_node
  - solidfire
  - mac_os_x = 10.15.7
  - macos = 11.0
  - macos = 11.0.1
  - macos = 11.1
  - macos = 11.1.0
  - macos = 11.2
  - macos = 11.2.1
  - macos = 11.3
  - macos = 11.3.1
  - macos = 11.4
  - macos = 11.5
  - 'mysql_server >= 5.7.0, <= 5.7.35'
  - 'mysql_server >= 8.0.0, <= 8.0.26'
  - peoplesoft_enterprise_peopletools = 8.57
  - peoplesoft_enterprise_peopletools = 8.58
  - peoplesoft_enterprise_peopletools = 8.59
  - sinec_infrastructure_network_services < 1.0.1.1
  - sinema_remote_connect_server < 3.1
  - h300s_firmware
  - h500s_firmware
  - h700s_firmware
  - h300e_firmware
  - h500e_firmware
  - h700e_firmware
  - h410s_firmware
  - 'universal_forwarder >= 8.2.0, < 8.2.12'
  - 'universal_forwarder >= 9.0.0, < 9.0.6'
  - universal_forwarder = 9.1.0
patched:
  - curl 7.78.0
  - sinec_infrastructure_network_services 1.0.1.1
  - sinema_remote_connect_server 3.1
  - universal_forwarder 9.0.6
published: '2021-08-05'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T11:16:54.113'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-22925'
references:
  - url: 'http://seclists.org/fulldisclosure/2021/Sep/39'
    label: support@hackerone.com
  - url: 'http://seclists.org/fulldisclosure/2021/Sep/40'
    label: support@hackerone.com
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf'
    label: support@hackerone.com
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf'
    label: support@hackerone.com
  - url: 'https://hackerone.com/reports/1223882'
    label: support@hackerone.com
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
    label: support@hackerone.com
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: support@hackerone.com
  - url: 'https://security.netapp.com/advisory/ntap-20210902-0003/'
    label: support@hackerone.com
  - url: 'https://support.apple.com/kb/HT212804'
    label: support@hackerone.com
  - url: 'https://support.apple.com/kb/HT212805'
    label: support@hackerone.com
  - url: 'https://www.oracle.com/security-alerts/cpujan2022.html'
    label: support@hackerone.com
  - url: 'https://www.oracle.com/security-alerts/cpuoct2021.html'
    label: support@hackerone.com
  - url: 'http://seclists.org/fulldisclosure/2021/Sep/39'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'http://seclists.org/fulldisclosure/2021/Sep/40'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://hackerone.com/reports/1223882'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.gentoo.org/glsa/202212-01'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://security.netapp.com/advisory/ntap-20210902-0003/'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212804'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://support.apple.com/kb/HT212805'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpujan2022.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://www.oracle.com/security-alerts/cpuoct2021.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-389290.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-484086.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
epss: 0.04929
epssPercentile: 0.91953
ingestedAt: '2026-10-14T11:27:22.126Z'
---

## Overview

curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in 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.

## Affected

- `curl >= 7.7, < 7.78.0`
- `fedora = 33`
- `cloud_backup`
- `clustered_data_ontap`
- `hci_management_node`
- `solidfire`
- `mac_os_x = 10.15.7`
- `macos = 11.0`
- `macos = 11.0.1`
- `macos = 11.1`
- `macos = 11.1.0`
- `macos = 11.2`
- `macos = 11.2.1`
- `macos = 11.3`
- `macos = 11.3.1`
- `macos = 11.4`
- `macos = 11.5`
- `mysql_server >= 5.7.0, <= 5.7.35`
- `mysql_server >= 8.0.0, <= 8.0.26`
- `peoplesoft_enterprise_peopletools = 8.57`
- `peoplesoft_enterprise_peopletools = 8.58`
- `peoplesoft_enterprise_peopletools = 8.59`
- `sinec_infrastructure_network_services < 1.0.1.1`
- `sinema_remote_connect_server < 3.1`
- `h300s_firmware`
- `h500s_firmware`
- `h700s_firmware`
- `h300e_firmware`
- `h500e_firmware`
- `h700e_firmware`
- `h410s_firmware`
- `universal_forwarder >= 8.2.0, < 8.2.12`
- `universal_forwarder >= 9.0.0, < 9.0.6`
- `universal_forwarder = 9.1.0`

## Remediation

Upgrade past the affected range:

- `curl 7.78.0`
- `sinec_infrastructure_network_services 1.0.1.1`
- `sinema_remote_connect_server 3.1`
- `universal_forwarder 9.0.6`
