CVE-2019-18397
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.
What to do
Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | fribidi | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | fribidi | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | fribidi | Fix pending | ||
| Debian 14 | fribidi | Fixed | 1.0.7-1.1 | DEBIAN-CVE-2019-18397 |
| Debian 13 | fribidi | Fixed | 1.0.7-1.1 | DEBIAN-CVE-2019-18397 |
| Debian 12 | fribidi | Fixed | 1.0.7-1.1 | DEBIAN-CVE-2019-18397 |
| Red Hat Enterprise Linux 8 | fribidi | Fixed | 0:1.0.4-7.el8_1 | RHSA-2019:4361 |
| Red Hat Enterprise Linux 8 | fribidi-devel | Fixed | 0:1.0.4-7.el8_1 | RHSA-2019:4361 |
| Red Hat Enterprise Linux 7 | fribidi | Fixed | 0:1.0.2-1.el7_7.1 | RHSA-2019:4326 |
| Red Hat Enterprise Linux 7 | fribidi-devel | Fixed | 0:1.0.2-1.el7_7.1 | RHSA-2019:4326 |
| Alpine Linux 3.24 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.23 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.22 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.21 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.20 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.19 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.18 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.17 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.16 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.15 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.14 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.13 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.12 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.11 | fribidi | Fixed | 1.0.7-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.10 | fribidi | Fixed | 1.0.5-r2 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.9 | fribidi | Fixed | 1.0.5-r1 | ALPINE-CVE-2019-18397 |
| Alpine Linux 3.8 | fribidi | Fixed | 1.0.2-r1 | ALPINE-CVE-2019-18397 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:4326 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:4361 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2020:0291 (vendor-advisory)
- https://security.gentoo.org/glsa/202003-41 (vendor-advisory)
References
- https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568
- https://marc.info/?l=oss-security&m=157322128105807&w=2
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944327
- https://security-tracker.debian.org/tracker/CVE-2019-18397
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W5UJRTG32FDNI7T637Q6PZYL3UCRR5HR/
- https://access.redhat.com/errata/RHSA-2019:4326
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TFS3N6KKXPI6ATDNEUFRSLX7R6BOBNIP/
- https://access.redhat.com/errata/RHSA-2019:4361
- https://access.redhat.com/errata/RHSA-2020:0291
- https://security.gentoo.org/glsa/202003-41
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.