Title: Libnemesi Multiple Remote Buffer Overflow Vulnerabilities
Severity: HIGH
Description:
Libnemesi is an open-source client library used for implementing RTSP/RTP streaming in applications.
Since it fails to perform adequate boundary checks on user-supplied input, Libnemesi is prone to multiple buffer-overflow vulnerabilities:
- The 'handle_rtsp_pkt()' function in the 'rtsp/rtsp_handlers.c' source file uses an 'sscanf()' function to copy version infomation to the 'ver' buffer without size-checks.
- The 'send_*_request()' functions in the 'rtsp/rtsp_send.c' source file aren't sized-checked before data is copied to various unspecified buffers. These functions include:
send_pause_request()
send_play_request()
send_setup_request()
send_teardown_request()
- The 'get_transport_str_*()' functions in the 'rtsp/rtsp_transport.c' source file copy data to buffers with 'strncpy()' used in an insecure manner. The size parameter refers to the source buffer rather than the destination buffer. These functions include:
get_transport_str_sctp()
get_transport_str_tcp()
get_transport_str_udp()
Attackers can exploit these issues to execute arbitrary code in the context of an application using the library. Failed attacks will cause denial-of-service conditions.
Libnemesi 0.6.4-rc1 is vulnerable; other versions may also be affected.
Affected Products:
- Politecnico di Torino Libnemesi 0.6.4-rc1
References:
- Politecnico di Torino: Libnemesi Homepage
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.