Stack-based Buffer Overflow Affecting cairo-gobject package, versions <0:1.15.12-3.el7


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.56% (79th 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-CENTOS7-CAIROGOBJECT-2118751
  • 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 Centos:7 cairo-gobject to version 0:1.15.12-3.el7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cairo-gobject package and not the cairo-gobject package as distributed by Centos. See How to fix? for Centos: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.