NULL Pointer Dereference Affecting gst-plugins-base package, versions <1.24.10-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALPINE320-GSTPLUGINSBASE-8502684
  • published14 Dec 2024
  • disclosed12 Dec 2024

Introduced: 12 Dec 2024

NewCVE-2024-47835  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 gst-plugins-base to version 1.24.10-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gst-plugins-base package and not the gst-plugins-base package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

GStreamer is a library for constructing graphs of media-handling components. A null pointer dereference vulnerability has been detected in the parse_lrc function within gstsubparse.c. The parse_lrc function calls strchr() to find the character ']' in the string line. The pointer returned by this call is then passed to g_strdup(). However, if the string line does not contain the character ']', strchr() returns NULL, and a call to g_strdup(start + 1) leads to a null pointer dereference. This vulnerability is fixed in 1.24.10.

CVSS Scores

version 3.1