🔍 CVE-2025-10148

5.3
CVSS Score
MEDIUM
2025-09-12
2026-10-19 17:10
✅ 완료

🇰🇷 한글 설명

curl의 WebSocket 코드에서 새로운 프레임마다 32비트 마스크 패턴을 업데이트하지 않고 고정된 마스크를 계속 사용하는 결함이 발견되었습니다. 이로 인해 예측 가능한 마스크 패턴이 생성되어, 악의적인 서버가 프록시 서버의 캐시를 오염시키는 공격을 수행할 수 있습니다.

💡 쉬운 설명

데이터를 암호화하는 방식이 매번 바뀌어야 하는데, 똑같은 방식을 계속 사용하여 보안이 취약해진 상태입니다. 이를 통해 해커가 가짜 데이터를 진짜처럼 속여서 중간 서버에 저장하게 만들 수 있습니다.

🇺🇸 원문 (English)

curl's WebSocket code did not update the 32-bit mask pattern for each new outgoing frame as the specification says. Instead it used a fixed mask that persisted and was used throughout the entire connection. A predictable mask pattern allows for a malicious server to induce traffic between the two communicating parties that could be interpreted by an involved proxy (configured or transparent) as genuine, real, HTTP traffic with content and thereby poison its cache. That cached poisoned content could then be served to all users of that proxy.

📍 영향받는 시스템

WebSocket 기능을 사용하는 curl 버전 (패치 전 버전)

⚔️ 공격 벡터

악의적인 WebSocket 서버가 예측 가능한 마스크 패턴을 이용해 프록시 서버의 캐시를 오염시키는 방식

🛡️ 대응 방법

WebSocket 마스크 패턴 업데이트 로직이 수정된 최신 버전의 curl로 업데이트

🔧 검증 코드

출력된 curl 버전을 확인하여 보안 패치가 적용된 최신 버전인지 확인

Shell / Script
curl --version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

curl