Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. 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.
Not applicable to Asterisk. This is a flaw in PJLIB-UTIL's telnet CLI front-end (handle_up_down() in cli_telnet.c). The upstream advisory states it affects only applications that enable that front-end, and that applications which do not enable it are not affected. Asterisk bundles pjproject but does not use its CLI framework. There are no references to pj_cli anywhere in the Asterisk source tree — Asterisk has its own unrelated CLI implementation. Nothing ever calls pj_cli_telnet_create(), so the vulnerable function is never reachable. Closing as NOTABUG, matching the Fedora tracker (bug 2531101). Note this is a reachability determination rather than the code being absent: cli_telnet.c is still compiled into the bundled library, so this would need revisiting if a future version of Asterisk adopted pjproject's CLI framework.