Stack-based Buffer Overflow Affecting cairo-devel package, versions <0:1.15.12-6.el8


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.12% (48th 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-RHEL8-CAIRODEVEL-4262149
  • published26 Jul 2021
  • disclosed28 Dec 2020

Introduced: 28 Dec 2020

CVE-2020-35492  (opens in a new tab)
CWE-121  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade RHEL:8 cairo-devel to version 0:1.15.12-6.el8 or higher.
This issue was patched in RHSA-2022:1961.

NVD Description

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

A flaw was found in cairo's image-compositor.c in all versions prior to 1.17.4. This flaw allows an attacker who can provide a crafted input file to cairo's image-compositor (for example, by convincing a user to open a file in an application using cairo, or if an application uses cairo on untrusted input) to cause a stack buffer overflow -> out-of-bounds WRITE. The highest impact from this vulnerability is to confidentiality, integrity, as well as system availability.

CVSS Scores

version 3.1