🔍 CVE-2021-22890

3.7
CVSS Score
LOW
2021-04-01
2026-10-14 11:16
✅ 완료

🇰🇷 한글 설명

curl 7.63.0부터 7.75.0 버전까지 TLS 1.3 세션 티켓 처리 오류로 인해 악의적인 HTTPS 프록시가 중간자 공격(MITM)을 수행할 수 있는 취약점이 존재합니다. 프록시가 전달한 세션 티켓을 원격 서버의 것으로 오인하여 핸드셰이크 과정을 잘못 건너뛰게 함으로써 서버의 TLS 인증서 검증을 우회할 수 있습니다.

💡 쉬운 설명

인터넷 연결을 도와주는 프록시 서버가 가짜 정보를 보내면, curl이 이를 진짜 서버 정보로 착각하여 보안 검사를 건너뛰게 됩니다. 이로 인해 해커가 중간에서 통신 내용을 몰래 훔쳐볼 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

curl 7.63.0 to and including 7.75.0 includes vulnerability that allows a malicious HTTPS proxy to MITM a connection due to bad handling of TLS 1.3 session tickets. When using a HTTPS proxy and TLS 1.3, libcurl can confuse session tickets arriving from the HTTPS proxy but work as if they arrived from the remote server and then wrongly "short-cut" the host handshake. When confusing the tickets, a HTTPS proxy can trick libcurl to use the wrong session ticket resume for the host and thereby circumvent the server TLS certificate check and make a MITM attack to be possible to perform unnoticed. Note that such a malicious HTTPS proxy needs to provide a certificate that curl will accept for the MITMed server for an attack to work - unless curl has been told to ignore the server certificate check.

📍 영향받는 시스템

curl 7.63.0 ~ 7.75.0 버전

⚔️ 공격 벡터

악의적인 HTTPS 프록시를 통한 TLS 1.3 세션 티켓 조작 및 중간자 공격(MITM)

🛡️ 대응 방법

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

🔧 검증 코드

출력된 버전 번호가 7.76.0 미만인지 확인하여 취약 여부를 판단합니다.

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

libcurl