ubuntu-cve-2024-47606
Vulnerability from osv_ubuntu
Published
2024-12-12 00:00
Modified
2026-05-20 15:12
Summary
Details

GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-0.10",
            "binary_version": "0.10.36-1.2ubuntu3"
          },
          {
            "binary_name": "gstreamer-tools",
            "binary_version": "0.10.36-1.2ubuntu3"
          },
          {
            "binary_name": "gstreamer0.10-tools",
            "binary_version": "0.10.36-1.2ubuntu3"
          },
          {
            "binary_name": "libgstreamer0.10-0",
            "binary_version": "0.10.36-1.2ubuntu3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "gstreamer0.10",
        "purl": "pkg:deb/ubuntu/gstreamer0.10@0.10.36-1.2ubuntu3?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.10.36-1.2ubuntu1",
        "0.10.36-1.2ubuntu2",
        "0.10.36-1.2ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gstreamer0.10-gconf",
            "binary_version": "0.10.31-3+nmu4ubuntu2.16.04.3"
          },
          {
            "binary_name": "gstreamer0.10-plugins-good",
            "binary_version": "0.10.31-3+nmu4ubuntu2.16.04.3"
          },
          {
            "binary_name": "gstreamer0.10-pulseaudio",
            "binary_version": "0.10.31-3+nmu4ubuntu2.16.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gst-plugins-good0.10",
        "purl": "pkg:deb/ubuntu/gst-plugins-good0.10@0.10.31-3+nmu4ubuntu2.16.04.3?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.10.31-3+nmu4ubuntu2~gcc5.1",
        "0.10.31-3+nmu4ubuntu2.16.04.1",
        "0.10.31-3+nmu4ubuntu2.16.04.2",
        "0.10.31-3+nmu4ubuntu2.16.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-0.10",
            "binary_version": "0.10.36-1.5ubuntu1"
          },
          {
            "binary_name": "gstreamer-tools",
            "binary_version": "0.10.36-1.5ubuntu1"
          },
          {
            "binary_name": "gstreamer0.10-tools",
            "binary_version": "0.10.36-1.5ubuntu1"
          },
          {
            "binary_name": "libgstreamer0.10-0",
            "binary_version": "0.10.36-1.5ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "gstreamer0.10",
        "purl": "pkg:deb/ubuntu/gstreamer0.10@0.10.36-1.5ubuntu1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.10.36-1.5ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gstreamer1.0-plugins-good",
            "binary_version": "1.8.3-1ubuntu0.5+esm1"
          },
          {
            "binary_name": "gstreamer1.0-pulseaudio",
            "binary_version": "1.8.3-1ubuntu0.5+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-good1.0-0",
            "binary_version": "1.8.3-1ubuntu0.5+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gst-plugins-good1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-good1.0@1.8.3-1ubuntu0.5+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.0-1ubuntu1",
        "1.6.1-1ubuntu1",
        "1.6.2-1ubuntu1",
        "1.7.1-1ubuntu1",
        "1.7.2-1ubuntu1",
        "1.7.90-1ubuntu1",
        "1.7.91-1ubuntu1",
        "1.8.0-1ubuntu1",
        "1.8.1-1ubuntu0.1",
        "1.8.2-1ubuntu0.1",
        "1.8.2-1ubuntu0.2",
        "1.8.2-1ubuntu0.3",
        "1.8.3-1ubuntu0.3",
        "1.8.3-1ubuntu0.4",
        "1.8.3-1ubuntu0.5",
        "1.8.3-1ubuntu0.5+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-1.0",
            "binary_version": "1.8.3-1~ubuntu0.1+esm1"
          },
          {
            "binary_name": "gstreamer1.0-tools",
            "binary_version": "1.8.3-1~ubuntu0.1+esm1"
          },
          {
            "binary_name": "libgstreamer1.0-0",
            "binary_version": "1.8.3-1~ubuntu0.1+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "gstreamer1.0",
        "purl": "pkg:deb/ubuntu/gstreamer1.0@1.8.3-1~ubuntu0.1+esm1?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.6.0-1",
        "1.6.1-1",
        "1.6.2-1",
        "1.7.1-1",
        "1.7.2-1",
        "1.7.90-1",
        "1.7.91-1",
        "1.8.0-1",
        "1.8.1-1~ubuntu1",
        "1.8.2-1~ubuntu1",
        "1.8.3-1~ubuntu0.1",
        "1.8.3-1~ubuntu0.1+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gstreamer1.0-gtk3",
            "binary_version": "1.14.5-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-good",
            "binary_version": "1.14.5-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "gstreamer1.0-pulseaudio",
            "binary_version": "1.14.5-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "gstreamer1.0-qt5",
            "binary_version": "1.14.5-0ubuntu1~18.04.3+esm1"
          },
          {
            "binary_name": "libgstreamer-plugins-good1.0-0",
            "binary_version": "1.14.5-0ubuntu1~18.04.3+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "gst-plugins-good1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-good1.0@1.14.5-0ubuntu1~18.04.3+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.12.3-1ubuntu1",
        "1.12.4-1ubuntu1",
        "1.13.1-1ubuntu1",
        "1.13.91-1ubuntu1",
        "1.14.0-1ubuntu1",
        "1.14.1-1ubuntu1~ubuntu18.04.1",
        "1.14.4-1ubuntu1~ubuntu18.04.1",
        "1.14.5-0ubuntu1~18.04.1",
        "1.14.5-0ubuntu1~18.04.2",
        "1.14.5-0ubuntu1~18.04.3",
        "1.14.5-0ubuntu1~18.04.3+esm1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-1.0",
            "binary_version": "1.14.5-0ubuntu1~18.04.2"
          },
          {
            "binary_name": "gstreamer1.0-tools",
            "binary_version": "1.14.5-0ubuntu1~18.04.2"
          },
          {
            "binary_name": "libgstreamer1.0-0",
            "binary_version": "1.14.5-0ubuntu1~18.04.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "gstreamer1.0",
        "purl": "pkg:deb/ubuntu/gstreamer1.0@1.14.5-0ubuntu1~18.04.2?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.12.3-1",
        "1.12.4-1",
        "1.13.1-1",
        "1.13.91-1",
        "1.14.0-1",
        "1.14.1-1~ubuntu18.04.1",
        "1.14.1-1~ubuntu18.04.2",
        "1.14.4-1~ubuntu18.04.1",
        "1.14.5-0ubuntu1~18.04.1",
        "1.14.5-0ubuntu1~18.04.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gstreamer1.0-gtk3",
            "binary_version": "1.16.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-plugins-good",
            "binary_version": "1.16.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-pulseaudio",
            "binary_version": "1.16.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-qt5",
            "binary_version": "1.16.3-0ubuntu1.3"
          },
          {
            "binary_name": "libgstreamer-plugins-good1.0-0",
            "binary_version": "1.16.3-0ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gst-plugins-good1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-good1.0@1.16.3-0ubuntu1.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.16.3-0ubuntu1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.16.1-1ubuntu1",
        "1.16.2-1ubuntu1",
        "1.16.2-1ubuntu2",
        "1.16.2-1ubuntu2.1",
        "1.16.3-0ubuntu1",
        "1.16.3-0ubuntu1.1",
        "1.16.3-0ubuntu1.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-1.0",
            "binary_version": "1.16.3-0ubuntu1.2"
          },
          {
            "binary_name": "gstreamer1.0-tools",
            "binary_version": "1.16.3-0ubuntu1.2"
          },
          {
            "binary_name": "libgstreamer1.0-0",
            "binary_version": "1.16.3-0ubuntu1.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "gstreamer1.0",
        "purl": "pkg:deb/ubuntu/gstreamer1.0@1.16.3-0ubuntu1.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.16.3-0ubuntu1.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.16.1-1",
        "1.16.2-1",
        "1.16.2-2",
        "1.16.3-0ubuntu1",
        "1.16.3-0ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gstreamer1.0-gtk3",
            "binary_version": "1.20.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-plugins-good",
            "binary_version": "1.20.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-pulseaudio",
            "binary_version": "1.20.3-0ubuntu1.3"
          },
          {
            "binary_name": "gstreamer1.0-qt5",
            "binary_version": "1.20.3-0ubuntu1.3"
          },
          {
            "binary_name": "libgstreamer-plugins-good1.0-0",
            "binary_version": "1.20.3-0ubuntu1.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gst-plugins-good1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-good1.0@1.20.3-0ubuntu1.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.3-0ubuntu1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.18.5-1ubuntu2",
        "1.18.5-1ubuntu3",
        "1.20.0-2ubuntu1",
        "1.20.1-1ubuntu1",
        "1.20.3-0ubuntu1",
        "1.20.3-0ubuntu1.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-1.0",
            "binary_version": "1.20.3-0ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-tools",
            "binary_version": "1.20.3-0ubuntu1.1"
          },
          {
            "binary_name": "libgstreamer1.0-0",
            "binary_version": "1.20.3-0ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "gstreamer1.0",
        "purl": "pkg:deb/ubuntu/gstreamer1.0@1.20.3-0ubuntu1.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.3-0ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.18.5-1",
        "1.19.90-1",
        "1.20.0-1",
        "1.20.1-1",
        "1.20.3-0ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gstreamer1.0-gtk3",
            "binary_version": "1.24.2-1ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-plugins-good",
            "binary_version": "1.24.2-1ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-pulseaudio",
            "binary_version": "1.24.2-1ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-qt5",
            "binary_version": "1.24.2-1ubuntu1.1"
          },
          {
            "binary_name": "gstreamer1.0-qt6",
            "binary_version": "1.24.2-1ubuntu1.1"
          },
          {
            "binary_name": "libgstreamer-plugins-good1.0-0",
            "binary_version": "1.24.2-1ubuntu1.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gst-plugins-good1.0",
        "purl": "pkg:deb/ubuntu/gst-plugins-good1.0@1.24.2-1ubuntu1.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.24.2-1ubuntu1.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.22.6-1ubuntu1",
        "1.22.6-1ubuntu2",
        "1.22.8-3ubuntu1",
        "1.22.9-1ubuntu1",
        "1.24.0-1ubuntu5",
        "1.24.0-1ubuntu7",
        "1.24.1-2ubuntu1",
        "1.24.2-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "gir1.2-gstreamer-1.0",
            "binary_version": "1.24.2-1ubuntu0.1"
          },
          {
            "binary_name": "gstreamer1.0-tools",
            "binary_version": "1.24.2-1ubuntu0.1"
          },
          {
            "binary_name": "libgstreamer1.0-0",
            "binary_version": "1.24.2-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "gstreamer1.0",
        "purl": "pkg:deb/ubuntu/gstreamer1.0@1.24.2-1ubuntu0.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.24.2-1ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.22.5-1",
        "1.22.6-1",
        "1.22.7-1",
        "1.22.8-1",
        "1.22.10-1",
        "1.24.1-1",
        "1.24.1-1build1",
        "1.24.2-1"
      ]
    }
  ],
  "aliases": [],
  "details": "GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the \u0027slice_size\u0027 variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem-\u003eallocator-\u003emem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.",
  "id": "UBUNTU-CVE-2024-47606",
  "modified": "2026-05-20T15:12:33Z",
  "published": "2024-12-12T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-47606"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-47606"
    },
    {
      "type": "REPORT",
      "url": "https://gstreamer.freedesktop.org/security/sa-2024-0014.html"
    },
    {
      "type": "REPORT",
      "url": "https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7174-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7176-1"
    }
  ],
  "related": [
    "USN-7174-1",
    "USN-7176-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-47606"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…