Out-of-bounds Write Affecting gst-plugins-base package, versions <1.24.10-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-ALPINE320-GSTPLUGINSBASE-8502683
  • published14 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 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. 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