🔍 CVE-2023-28858

3.7
CVSS Score
LOW
2023-03-26
2026-06-17 05:48
✅ 완료

🇰🇷 한글 설명

redis-py 4.5.3 미만 버전에서 비동기 Redis 명령을 부적절한 시점에 취소할 경우 연결이 열린 상태로 유지됩니다. 이로 인해 오프바이원(off-by-one) 방식으로 무관한 요청의 응답 데이터가 클라이언트에 전송될 수 있는 취약점이 존재합니다.

💡 쉬운 설명

비동기 작업을 하다가 중간에 취소하면 연결이 제대로 닫히지 않아 발생합니다. 이 과정에서 다른 사용자의 데이터가 엉뚱한 사람에게 전달될 위험이 있습니다.

🇺🇸 원문 (English)

redis-py before 4.5.3 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request in an off-by-one manner. NOTE: this CVE Record was initially created in response to reports about ChatGPT, and 4.3.6, 4.4.3, and 4.5.3 were released (changing the behavior for pipeline operations); however, please see CVE-2023-28859 about addressing data leakage across AsyncIO connections in general.

📍 영향받는 시스템

redis-py 4.5.3 미만 버전

⚔️ 공격 벡터

비동기 명령 취소를 유도하여 데이터 응답 경로를 교란하는 방식

🛡️ 대응 방법

redis-py를 4.5.3 또는 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 4.5.3보다 낮은지 확인하십시오.

Shell / Script
pip show redis 2>/dev/null | grep Version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Redis