5.3medium
TELNET stack contents disclosure again
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 5.37% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- CURL-CVE-2021-22925
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/curl/curl | curl 7.7 to and including 7.77.0 | CVE List |
| https://github.com/curl/curl.git | from 7.7 before 7.78.0, from a1d6ad26100bc493c7b04f1301b1634b7f5aa8b4 before 894f6ec730597eb243618d33cc84d71add8d6a8a | curl |
| haxx curl | from 7.7 before 7.78.0 | NVD |
| fedoraproject fedora | 33 | NVD |
| netapp cloud_backup | Not specified | NVD |
| netapp clustered_data_ontap | Not specified | NVD |
| netapp hci_management_node | Not specified | NVD |
| netapp solidfire | Not specified | NVD |
| apple mac_os_x | 10.15.7 | NVD |
| apple macos | 11.0, 11.0.1, 11.1, 11.1.0, 11.2, 11.2.1, 11.3, 11.3.1 and 2 more | NVD |
| oracle mysql_server | from 5.7.0 up to 5.7.35, from 8.0.0 up to 8.0.26 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.57, 8.58, 8.59 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| siemens sinema_remote_connect_server | before 3.1 | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp h300e_firmware | Not specified | NVD |
| netapp h500e_firmware | Not specified | NVD |
| netapp h700e_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| curl | medium rating | |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
curl
curl supports the -t command line option, known as CURLOPT_TELNETOPTIONS
in libcurl. This rarely used option is used to send variable=content pairs to
TELNET servers.
Due to flaw in the option parser for sending NEW_ENV variables, libcurl
could be made to pass on uninitialized data from a stack based buffer to the
server. Therefore potentially revealing sensitive internal information to the
server using a clear-text network protocol.
This could happen because curl did not call and use sscanf() correctly when
parsing the string provided by the application.
The previous curl security vulnerability CVE-2021-22898 is almost identical to this one but the fix was insufficient so this security vulnerability remained.
NVD (es)
curl soporta la opción de línea de comandos "-t", conocida como "CURLOPT_TELNETOPTIONS" en libcurl. Debido a un fallo en el analizador de opciones para el envío de variables "NEW_ENV", libcurl podría pasar datos no inicializados de un búfer en la región stack de la memoria al servidor. Por lo tanto, podría revelar potencialmente información interna confidencial al servidor usando un protocolo de red de texto sin cifrar. Esto podría ocurrir porque curl no llamó y usó la función sscanf() apropiadamente al analizar la cadena proporcionada por la aplicación
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22925 changed 2026-10-14 | CVE Terms of Use |
| curl | CURL-CVE-2021-22925 changed 2026-10-25 | MIT |
| NVD | CVE-2021-22925 changed 2026-10-14 | Public domain |