CVE-2021-22925
Published: 21 July 2021
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.
Notes
Author | Note |
---|---|
mdeslaur | caused by incomplete fix for CVE-2021-22898 |
Priority
Status
Package | Release | Status |
---|---|---|
curl Launchpad, Ubuntu, Debian |
bionic |
Released
(7.58.0-2ubuntu3.14)
|
focal |
Released
(7.68.0-1ubuntu2.6)
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Released
(7.74.0-1ubuntu2.1)
|
|
jammy |
Released
(7.74.0-1.2ubuntu4)
|
|
kinetic |
Released
(7.74.0-1.2ubuntu4)
|
|
lunar |
Released
(7.74.0-1.2ubuntu4)
|
|
trusty |
Released
(7.35.0-1ubuntu2.20+esm14)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(7.78.0)
|
|
xenial |
Released
(7.47.0-1ubuntu2.19+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
impish |
Released
(7.74.0-1.2ubuntu4)
|
|
Patches: upstream: https://github.com/curl/curl/commit/894f6ec730597eb243618d33cc84d71add8d6a8a |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.3 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | Low |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |