Original 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 software
- curl ≥ 7.7 < 7.78.0 Fixed in: 7.78.0 exact match
Details
- Published
- 2021-08-05
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-200, CWE-908
- EPSS (30-day exploit probability)
- 5.37% (percentile 93)
References
- cve.org/CVE-2021-22925
- nvd.nist.gov/vuln/detail/CVE-2021-22925
- seclists.org/fulldisclosure/2021/Sep/39
- seclists.org/fulldisclosure/2021/Sep/40
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf
- hackerone.com/reports/1223882
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F...
- security.gentoo.org/glsa/202212-01
- security.netapp.com/advisory/ntap-20210902-0003/
- support.apple.com/kb/HT212804
- support.apple.com/kb/HT212805
- www.oracle.com/security-alerts/cpujan2022.html
- www.oracle.com/security-alerts/cpuoct2021.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.