🔍 CVE-2022-43551

7.5
CVSS Score
HIGH
2022-12-23
2026-10-14 19:16
✅ 완료

🇰🇷 한글 설명

curl 7.87.0 미만 버전의 HSTS 체크 과정에서 보안 우회 취약점이 발견되었습니다. IDN(국제화 도메인 이름) 문자를 사용하여 URL을 구성할 경우, HSTS 메커니즘이 이를 제대로 인식하지 못해 HTTPS 대신 보안되지 않은 HTTP로 통신하게 될 수 있습니다.

💡 쉬운 설명

특수 문자가 포함된 웹 주소를 사용하면 curl이 보안 연결(HTTPS)을 유지해야 한다는 규칙을 잊어버릴 수 있습니다. 이로 인해 데이터가 암호화되지 않은 일반 통신(HTTP)으로 전송되어 해킹 위험이 생깁니다.

🇺🇸 원문 (English)

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded.

📍 영향받는 시스템

curl version < 7.87.0

⚔️ 공격 벡터

IDN 문자를 포함한 특수 도메인 URL을 사용하여 HSTS 보안 정책을 우회하는 방식

🛡️ 대응 방법

curl을 7.87.0 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 7.87.0 미만이면 취약한 상태입니다.

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

curl