==========================================================================
Ubuntu Security Notice USN-5366-1
April 07, 2022

fribidi vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 21.10
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS

Summary:

Several security issues were fixed in fribidi.

Software Description:
- fribidi: Free Implementation of the Unicode BiDi algorithm (utility)

Details:

It was discovered that FriBidi incorrectly handled processing of input 
strings
resulting in memory corruption. An attacker could use this issue to cause
FriBidi to crash, resulting in a denial of service, or potentially execute
arbitrary code.
(CVE-2022-25308)

It was discovered that FriBidi incorrectly validated input data to its 
CapRTL
unicode encoder, resulting in memory corruption. An attacker could use this
issue to cause FriBidi to crash, resulting in a denial of service, or
potentially execute arbitrary code.
(CVE-2022-25309)

It was discovered that FriBidi incorrectly handled empty input when removing
marks from unicode strings, resulting in a crash. An attacker could use this
to cause FriBidi to crash, resulting in a denial of service, or 
potentially execute arbitrary code.
(CVE-2022-25310)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 21.10:
libfribidi-bin 1.0.8-2ubuntu2.1
libfribidi0 1.0.8-2ubuntu2.1

Ubuntu 20.04 LTS:
libfribidi-bin 1.0.8-2ubuntu0.1
libfribidi0 1.0.8-2ubuntu0.1

Ubuntu 18.04 LTS:
libfribidi-bin 0.19.7-2ubuntu0.1
libfribidi0 0.19.7-2ubuntu0.1

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-5366-1
CVE-2022-25308, CVE-2022-25309, CVE-2022-25310

Package Information:
https://launchpad.net/ubuntu/+source/fribidi/1.0.8-2ubuntu2.1
https://launchpad.net/ubuntu/+source/fribidi/1.0.8-2ubuntu0.1
https://launchpad.net/ubuntu/+source/fribidi/0.19.7-2ubuntu0.1