CVE-2023-27533
JSON

9.8critical

TELNET option IAC injection

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
2.16% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
CURL-CVE-2023-27533

Description

A vulnerability in input validation exists in curl <8.0 during communication using the TELNET protocol may allow an attacker to pass on maliciously crafted user name and "telnet options" during server negotiation. The lack of proper input scrubbing allows an attacker to send content or perform option negotiation without the application's intent. This vulnerability could be exploited if an application allows user input, thereby enabling attackers to execute arbitrary code on the system.

Affected

Product or packageVersionsReported by
https://github.com/curl/curlFixed in 8.0.0CVE List
https://github.com/curl/curl.gitfrom 7.7 before 8.0.0, from a1d6ad26100bc493c7b04f1301b1634b7f5aa8b4 before 538b1e79a6e7b0bb829ab4cecc828d32105d0684curl
haxx curlfrom 7.0.0 up to 7.881NVD
fedoraproject fedora36NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp clustered_data_ontap9.0NVD
netapp h300s_firmwareNot specifiedNVD
netapp h500s_firmwareNot specifiedNVD
netapp h700s_firmwareNot specifiedNVD
netapp h410s_firmwareNot specifiedNVD
splunk universal_forwarderfrom 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0NVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
curllow rating
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-74CWE-75

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

A vulnerability in input validation exists in curl <8.0 during communication using the TELNET protocol may allow an attacker to pass on maliciously crafted user name and "telnet options" during server negotiation. The lack of proper input scrubbing allows an attacker to send content or perform option negotiation without the application's intent. This vulnerability could be exploited if an application allows user input, thereby enabling attackers to execute arbitrary code on the system.

curl

curl supports communicating using the TELNET protocol and as a part of this it offers users to pass on username and "telnet options" for the server negotiation.

Due to lack of proper input scrubbing and without it being the documented functionality, curl would pass on username and telnet options to the server as provided. This could allow users to pass in carefully crafted content that pass on content or do option negotiation without the application intending to do so. In particular if an application for example allows users to provide the data or parts of the data.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-27533 changed 2026-10-14CVE Terms of Use
curlCURL-CVE-2023-27533 changed 2026-10-25MIT
NVDCVE-2023-27533 changed 2026-10-14Public domain