Out-of-bounds write in Liblouis - CVE-2022-31783

 

Out-of-bounds write in Liblouis - CVE-2022-31783

Published: June 13, 2022


Vulnerability identifier: #VU64230
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31783
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary within the in compileRule() function in compileTranslationTable.c. A remote attacker can trick the victim to pass specially crafted data to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Liblouis
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
Oracle Solaris
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Server for SAP Applications
openSUSE Leap
Ubuntu
Fedora
liblouis14-debuginfo
liblouis14
python3-louis
liblouis-devel
liblouis-debugsource
liblouis-debuginfo
liblouis-data
liblouis-tools-debuginfo
liblouis-tools
liblouis-doc
liblouis19-debuginfo
liblouis19
liblouis20
liblouis20-debuginfo
liblouis
dev-libs/liblouis
liblouis14 (Ubuntu package)
liblouis-bin (Ubuntu package)
liblouis20 (Ubuntu package)

How to mitigate CVE-2022-31783

Install updates from vendor's website.

Liblouis - update to 3.22.0
liblouis14-debuginfo - update to 3.3.0-150000.4.8.1
liblouis14 - update to 3.3.0-150000.4.8.1
python3-louis - addressed in versions 3.3.0-150000.4.8.1, 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-devel - addressed in versions 3.3.0-150000.4.8.1, 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-debugsource - addressed in versions 3.3.0-150000.4.8.1, 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-debuginfo - addressed in versions 3.3.0-150000.4.8.1, 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-data - addressed in versions 3.3.0-150000.4.8.1, 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-tools-debuginfo - addressed in versions 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-tools - addressed in versions 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis-doc - addressed in versions 3.11.0-150200.3.3.1, 3.20.0-150400.3.3.1
liblouis19-debuginfo - update to 3.11.0-150200.3.3.1
liblouis19 - update to 3.11.0-150200.3.3.1
liblouis20 - update to 3.20.0-150400.3.3.1
liblouis20-debuginfo - update to 3.20.0-150400.3.3.1
liblouis - update to 3.22.0-1.fc36
dev-libs/liblouis - update to 3.22.0
liblouis14 (Ubuntu package) - update to 3.5.0-1ubuntu0.4
liblouis-bin (Ubuntu package) - addressed in versions 3.5.0-1ubuntu0.4, 3.12.0-3ubuntu0.1, 3.18.0-1ubuntu0.2, 3.20.0-2ubuntu0.1
liblouis20 (Ubuntu package) - addressed in versions 3.12.0-3ubuntu0.1, 3.18.0-1ubuntu0.2, 3.20.0-2ubuntu0.1

External References

Related Security Bulletins