gstreamer/gst
Sebastian Dröge 44ccca3086 rtsp-auth: Fix NULL pointer dereference when handling an invalid basic Authorization header
When using the basic authentication scheme, we wouldn't validate that
the authorization field of the credentials is not NULL and pass it on
to g_hash_table_lookup(). g_str_hash() however is not NULL-safe and will
dereference the NULL pointer and crash.
A specially crafted (read: invalid) RTSP header can cause this to
happen.

As a solution, check for the authorization to be not NULL before
continuing processing it and if it is simply fail authentication.

This fixes CVE-2020-6095 and TALOS-2020-1018.

Discovered by Peter Wang of Cisco ASIG.
2020-03-23 16:06:43 +02:00
..
rtsp-server rtsp-auth: Fix NULL pointer dereference when handling an invalid basic Authorization header 2020-03-23 16:06:43 +02:00
rtsp-sink rtsp-session & client: Remove deprecated GTimeVal 2019-12-18 19:48:31 +00:00
meson.build meson: add option to disable build of rtspclientsink plugin 2018-09-19 12:17:57 +01:00