Out-of-bounds Write Affecting gst-plugins-base1.0 package, versions <1.24.8-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

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 IDSNYK-UBUNTU2410-GSTPLUGINSBASE10-8500428
  • published19 Dec 2024
  • disclosed12 Dec 2024

Introduced: 12 Dec 2024

NewCVE-2024-47541  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 gst-plugins-base1.0 to version 1.24.8-1ubuntu0.1 or higher.

NVD Description

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

GStreamer is a library for constructing graphs of media-handling components. An OOB-write vulnerability has been identified in the gst_ssa_parse_remove_override_codes function of the gstssaparse.c file. This function is responsible for parsing and removing SSA (SubStation Alpha) style override codes, which are enclosed in curly brackets ({}). The issue arises when a closing curly bracket "}" appears before an opening curly bracket "{" in the input string. In this case, memmove() incorrectly duplicates a substring. With each successive loop iteration, the size passed to memmove() becomes progressively larger (strlen(end+1)), leading to a write beyond the allocated memory bounds. This vulnerability is fixed in 1.24.10.

CVSS Scores

version 3.1