Buffer Overflow Affecting fribidi package, versions <1.0.5-r1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.34% (72nd 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-ALPINE39-FRIBIDI-498262
  • published10 Nov 2019
  • disclosed13 Nov 2019

Introduced: 10 Nov 2019

CVE-2019-18397  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade Alpine:3.9 fribidi to version 1.0.5-r1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream fribidi package and not the fribidi package as distributed by Alpine. See How to fix? for Alpine:3.9 relevant fixed versions and status.

A buffer overflow in the fribidi_get_par_embedding_levels_ex() function in lib/fribidi-bidi.c of GNU FriBidi through 1.0.7 allows an attacker to cause a denial of service or possibly execute arbitrary code by delivering crafted text content to a user, when this content is then rendered by an application that uses FriBidi for text layout calculations. Examples include any GNOME or GTK+ based application that uses Pango for text layout, as this internally uses FriBidi for bidirectional text layout. For example, the attacker can construct a crafted text file to be opened in GEdit, or a crafted IRC message to be viewed in HexChat.

CVSS Scores

version 3.1