Stack-based Buffer Overflow Affecting cairo package, versions <1.16.0-r3


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.12% (47th 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-ALPINE310-CAIRO-1244669
  • published10 Apr 2021
  • disclosed18 Mar 2021

Introduced: 18 Mar 2021

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

How to fix?

Upgrade Alpine:3.10 cairo to version 1.16.0-r3 or higher.

NVD Description

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