CVE-2021-42523

colord: potential memory leak, forgetting to free error message of libsqlite3 API 'sqlite3_exec' -1

Published Aug 25, 2022 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-29492 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Aug 4, 2024, 3:30 AM
Reserved
Oct 15, 2021, 12:00 AM
Status
Modified
Published
Aug 25, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:09 AM
Severity
Low
Public date
Oct 6, 2022, 12:00 AM