DeepStream on newer versions of GStreamer?

We love the DeepStream framework and how it is enabling us to rapidly build on the very solid foundation of GStreamer. DeepStream, however, appears to be built on a now dated version of GStreamer (v1.14.5), so this topic is intended to outline specific reasons why a newer version of GStreamer (v1.18.4 or newer) would be highly desirable from our perspective.

To begin, there are a number of CVE (Common Vulnerabilities and Exposures) reports that are applicable for GStreamer v1.14.5 that have been fixed for GStreamer v1.18.4. These CVEs, in particular, affect GStreamer elements that are utilised in our DeepStream-based solution, including:

  • CVE-2019-9928 - “GStreamer before 1.16.0 has a heap-based buffer overflow in the RTSP connection parser via a crafted response from a server, potentially allowing remote code execution.”
  • CVE-2020-6095 - “An exploitable denial of service vulnerability exists in the GstRTSPAuth functionality of GStreamer/gst-rtsp-server 1.14.5. A specially crafted RTSP setup request can cause a null pointer deference resulting in denial-of-service. An attacker can send a malicious packet to trigger this vulnerability.”
  • CVE-2021-3185 - “A flaw was found in the gstreamer h264 component of gst-plugins-bad before v1.18.1 where when parsing a h264 header, an attacker could cause the stack to be smashed, memory corruption and possibly code execution.” This CVE in particular has been encountered during the testing of our DeepStream-based solution and thus is high-priority to be fixed to avoid the issue occurring in a production environment.

In addition, there are several issue reports listed on the GStreamer Gitlab group that pertain to GStreamer elements that we use in our DeepStream-based solution. There are likely more than those that have been currently found, but these include:

We’ve also encountered an issue with the webrtcbin element during its usage in our DeepStream-based solution. When the browser initialises the WebRTC connection with GStreamer, it is not able to receive the WebRTC stream. However, if GStreamer were to initialise the WebRTC connection with the browser, then this issue does not occur. Notably, this issue does not occur in v1.16 and v1.18 builds of GStreamer.

Finally, GStreamer v1.14.5 is now so dated, that we only have docs for v1.16 and v1.18!!

We’d really love if DeepStream could move to a more recent foundation of GStreamer (e.g. v1.18.4) as this would offer us more stability, which is a prime requisite for our DeepStream-based solution. Is there any such update on the roadmap planned, and if not, can the above be put forward as evidence for there being (some) DeepStream user community demand for such an update!

3 Likes

We will look into this request.

Currently DeepStream relies on the ubuntu distributed vesion. GStreamer version upgrading is in the DS roadmap together with unbuntu version upgrading too.

If you are using ubuntu 20.04 with default gstreamer 1.16 - current DeepStream may work as it is although we are not officially supporting it.

Hello,

I have the same problem. Our platform is a Jetson AGX Xavier, we are using JetPack 4.5.1 and we also need bug fixes and features from a more recent version of GStreamer.
Is the source code for the NVIDIA plugins available so that we can build them against a newer version of GStreamer?

Thanks

Hi pedro9,

Pleae help to open a new topic if still an issue to support. Thanks