mirror of
https://github.com/0xMarcio/cve.git
synced 2026-05-28 07:12:31 +02:00
20 lines
1.2 KiB
Markdown
20 lines
1.2 KiB
Markdown
### [CVE-2021-22925](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-22925)
|
|

|
|

|
|
&color=brightgreen)
|
|
|
|
### 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.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- http://seclists.org/fulldisclosure/2021/Sep/39
|
|
- https://www.oracle.com/security-alerts/cpujan2022.html
|
|
- https://www.oracle.com/security-alerts/cpuoct2021.html
|
|
|
|
#### Github
|
|
- https://github.com/fokypoky/places-list
|
|
|