Stack-based Buffer Overflow Affecting gtksourceview3-devel package, versions <0:3.24.8-1.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.49% (76th percentile)

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-RHEL7-GTKSOURCEVIEW3DEVEL-4818512
  • published26 Jul 2021
  • disclosed5 May 2018

Introduced: 5 May 2018

CVE-2018-10767  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:7 gtksourceview3-devel to version 0:3.24.8-1.el7 or higher.
This issue was patched in RHSA-2018:3140.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gtksourceview3-devel package and not the gtksourceview3-devel package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

There is a stack-based buffer over-read in calling GLib in the function gxps_images_guess_content_type of gxps-images.c in libgxps through 0.3.0 because it does not reject negative return values from a g_input_stream_read call. A crafted input will lead to a remote denial of service attack.