🔍 CVE-2021-22898

3.1
CVSS Score
LOW
2021-06-11
2026-10-14 11:16
✅ 완료

🇰🇷 한글 설명

curl 7.7부터 7.76.1 버전에서 TELNET 서버로 변수 데이터를 전송할 때 정보가 유출될 수 있는 취약점이 발견되었습니다. NEW_ENV 옵션 파서의 결함으로 인해 스택 기반 버퍼의 초기화되지 않은 데이터가 서버로 전송되어 민감한 내부 정보가 노출될 위험이 있습니다.

💡 쉬운 설명

curl을 사용하여 텔넷 서버에 접속할 때, 컴퓨터 메모리에 남아있던 중요한 정보가 실수로 서버에 전달될 수 있는 문제입니다. 이로 인해 사용자의 민감한 데이터가 공격자에게 노출될 가능성이 있습니다.

🇺🇸 원문 (English)

curl 7.7 through 7.76.1 suffers from an information disclosure when the `-t` command line option, known as `CURLOPT_TELNETOPTIONS` in libcurl, is used to send variable=content pairs to TELNET servers. Due to a flaw in the option parser for sending NEW_ENV variables, libcurl could be made to pass on uninitialized data from a stack based buffer to the server, resulting in potentially revealing sensitive internal information to the server using a clear-text network protocol.

📍 영향받는 시스템

curl 7.7 ~ 7.76.1 버전

⚔️ 공격 벡터

TELNET 프로토콜 사용 시 -t (CURLOPT_TELNETOPTIONS) 옵션을 통해 의도치 않은 메모리 데이터 전송

🛡️ 대응 방법

curl을 7.77.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 7.77.0 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
curl --version | grep -E 'curl/[0-9]+\.[0-9]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

libcurl