🔍 CVE-2026-57165

5.3
CVSS Score
MEDIUM
2026-09-04
2026-09-11 16:53
✅ 완료

🇰🇷 한글 설명

PJSIP 라이브러리의 PJLIB-UTIL 텔넷 CLI 프런트엔드에서 히스토리 호출 시 명령줄을 다시 그리는 과정 중 스택 버퍼 오버플로가 발생합니다. 이 취약점은 텔넷 CLI가 활성화된 애플리케이션에서 발생하며, 데이터 누적으로 인해 애플리케이션이 강제 종료될 수 있습니다. 해당 문제는 커밋 628b716을 통해 패치되었습니다.

💡 쉬운 설명

통신 라이브러리의 텔넷 기능에서 이전에 입력했던 명령어를 불러올 때 메모리 공간이 넘치는 오류가 발생합니다. 이로 인해 프로그램이 갑자기 꺼질 수 있지만, 이미 명령어를 입력할 수 있는 권한이 있는 상태에서만 발생합니다.

🇺🇸 원문 (English)

PJSIP is a free and open source multimedia communication library written in C. Prior to commit 628b716, a stack buffer overflow exists in the PJLIB-UTIL telnet CLI front-end when redrawing the command line during history recall (handle_up_down() in cli_telnet.c). This affects only applications that enable the telnet CLI front-end (same gating as the related CLI issue). The line-redraw sequence for a recalled history entry can accumulate more data than a fixed-size stack buffer holds, which may lead to application termination. Exploitation requires access to the unauthenticated telnet CLI, which already permits arbitrary CLI commands, so the additional impact is limited. Applications that do not enable the telnet CLI front-end are not affected. This issue has been patched via commit 628b716.

📍 영향받는 시스템

PJSIP 라이브러리 (telnet CLI 프런트엔드가 활성화된 버전)

⚔️ 공격 벡터

인증되지 않은 텔넷 CLI 접속을 통한 히스토리 호출 명령 실행

🛡️ 대응 방법

PJSIP 라이브러리를 커밋 628b716이 적용된 최신 버전으로 업데이트하거나 텔넷 CLI 기능을 비활성화합니다.

🔧 검증 코드

명령어 결과에 628b716이 포함되어 있으면 패치된 상태이며, 그렇지 않으면 취약할 수 있습니다.

Shell / Script
git log -1 --format=%H | grep 628b716 || echo 'Not patched'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Magento Open Source