medium5.3
CVE-2021-22925
curl supports the `-t` command line option, known as `CURLOPT_TELNETOPTIONS`in libcurl.
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Haxx | Curl | from 7.7 before 7.78.0 |
| Fedoraproject | Fedora | Version 33 |
| Netapp | Cloud Backup | All versions |
| Netapp | Clustered Data Ontap | All versions |
| Netapp | Hci Management Node | All versions |
| Netapp | Solidfire | All versions |
| Apple | Mac Os X | Version 10.15.7 |
| Apple | Macos | Versions 11.0, 11.0.1, 11.1, 11.1.0, 11.2, 11.2.1 |
| Oracle | Mysql Server | from 5.7.0 through 5.7.35 from 8.0.0 through 8.0.26 |
| Oracle | Peoplesoft Enterprise Peopletools | Versions 8.57, 8.58, 8.59 |
| Siemens | Sinec Infrastructure Network Services | before 1.0.1.1 |
| Siemens | Sinema Remote Connect Server | before 3.1 |
Weakness classification
References
- NVD record
- CVE.org record
- http://seclists.org/fulldisclosure/2021/Sep/39
- http://seclists.org/fulldisclosure/2021/Sep/40
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- https://hackerone.com/reports/1223882
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/
- https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20210902-0003/
- https://support.apple.com/kb/HT212804
- https://support.apple.com/kb/HT212805
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-484086.html