🇰🇷 한글 설명
curl 7.65.2 버전의 tool_operate.c 파일에서 재시도 지연 시간(retry delay)에 매우 큰 값을 입력할 경우 정수 오버플로가 발생합니다. 이로 인해 의도한 시간보다 훨씬 짧은 대기 시간이 설정될 수 있으며, 이론적으로는 관련 시스템이나 네트워크에 서비스 거부(DoS)를 유발할 가능성이 있습니다.
💡 쉬운 설명
curl 프로그램에 재시도 대기 시간을 너무 길게 설정하면 숫자가 계산 오류를 일으켜 대기 시간이 아주 짧게 변할 수 있습니다. 이로 인해 시스템에 과도한 요청이 전달되어 서비스가 느려지거나 멈출 수 있습니다.
🇺🇸 원문 (English)
Integer overflow vulnerability in tool_operate.c in curl 7.65.2 via a large value as the retry delay. NOTE: many parties report that this has no direct security impact on the curl user; however, it may (in theory) cause a denial of service to associated systems or networks if, for example, --retry-delay is misinterpreted as a value much smaller than what was intended. This is not especially plausible because the overflow only happens if the user was trying to specify that curl should wait weeks (or longer) before trying to recover from a transient error.
📍 영향받는 시스템
curl 7.65.2 버전
⚔️ 공격 벡터
사용자가 --retry-delay 옵션에 매우 큰 정수 값을 입력하여 정수 오버플로 유도
🛡️ 대응 방법
curl을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 버전 정보가 7.65.2 이하인지 확인하여 취약 여부를 판단합니다.
curl --version | grep -E 'curl/[0-9.]+'