CVE-2021-42523 Information disclosure in colord

High 7.5 Published Updated

An attacker can read sensitive memory contents due to a memory leak in colord's SQLite error handling, potentially exposing private data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-42523?

CVE-2021-42523 is a high-severity vulnerability in colord, published on 25 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the 'err_msg' of 'sqlite3_exec' is not releasing after use, while libxml2 emphasizes that the caller needs to release it.

Weakness: CWE-401, CWE-200

Which versions are affected by CVE-2021-42523?

It affects 1 product.

Linux distribution packages (32)
colord SUSE:Linux Enterprise Micro 5.2All versions1.4.4-150200.4.6.1
colord SUSE:Linux Enterprise Micro 5.3All versions1.4.5-150400.4.3.1
colord SUSE:Linux Enterprise Micro 5.3All versions1.4.5-150400.4.9.1
colord SUSE:Linux Enterprise Micro 5.4All versions1.4.5-150400.4.9.1
colord SUSE:Linux Enterprise Micro 5.5All versions1.4.5-150400.4.9.1
colord SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions1.4.4-150200.4.6.1
colord SUSE:Linux Enterprise Module for Basesystem 15 SP4All versions1.4.5-150400.4.3.1
colord SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Module for Basesystem 15 SP7All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions1.4.4-150200.4.6.1
colord SUSE:Linux Enterprise Module for Desktop Applications 15 SP4All versions1.4.5-150400.4.3.1
colord SUSE:Linux Enterprise Module for Desktop Applications 15 SP6All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Module for Desktop Applications 15 SP7All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Module for Package Hub 15 SP6All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Module for Package Hub 15 SP7All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Server 12 SP5All versions1.3.3-13.3.1
colord SUSE:Linux Enterprise Server 12 SP5-LTSSAll versions1.3.3-13.9.2
colord SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5All versions1.3.3-13.9.2
colord SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions1.3.3-13.3.1
colord SUSE:Linux Enterprise Software Development Kit 12 SP5All versions1.3.3-13.3.1
colord SUSE:Linux Enterprise Workstation Extension 12 SP5All versions1.3.3-13.3.1
colord SUSE:Linux Enterprise Workstation Extension 15 SP3All versions1.4.4-150200.4.6.1
colord SUSE:Linux Enterprise Workstation Extension 15 SP4All versions1.4.5-150400.4.3.1
colord SUSE:Linux Enterprise Workstation Extension 15 SP6All versions1.4.6-150600.3.8.1
colord SUSE:Linux Enterprise Workstation Extension 15 SP7All versions1.4.6-150600.3.8.1
colord SUSE:Linux Micro 6.0All versions1.4.6-4.1
colord SUSE:Linux Micro 6.1All versions1.4.6-slfo.1.1_2.1
colord openSUSE:Leap 15.3All versions1.4.4-150200.4.6.1
colord openSUSE:Leap 15.4All versions1.4.5-150400.4.3.1
colord openSUSE:Leap 15.6All versions1.4.6-150600.3.8.1
colord openSUSE:Leap Micro 5.2All versions1.4.4-150200.4.6.1
colord openSUSE:TumbleweedAll versions1.4.6-2.1

Products include Colord Project Colord.

How do I fix CVE-2021-42523?

Apply the vendor's patch.

Is CVE-2021-42523 being exploited?

There is no known exploitation of CVE-2021-42523 in the wild and no public exploit code.

Sources

Also known as AZL-10716, CLSA-2026-1776761965, DEBIAN-CVE-2021-42523, GHSA-r93j-wmmw-g27p, MGASA-2022-0366, OESA-2022-1914 and 9 more.

Is CVE-2021-42523 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free