CVE-2020-12050
Homebrew vulnerability analysis and mitigation

Overview

CVE-2020-12050 affects SQLiteODBC version 0.9996, specifically as packaged for certain Linux distributions as version 0.9996-4. The vulnerability was discovered in April 2020 and involves a race condition that can lead to root privilege escalation. The affected software is a database driver that provides ODBC connectivity for SQLite databases (NVD).

Technical details

The vulnerability exists in the package installation script where a temporary configuration file is created in the /tmp directory with a predictable name format '/tmp/sqliteodbc$$' (where $$ represents the process ID). Due to improper file handling, any user can replace this file with new contents that cause loading of an arbitrary library. The vulnerability has been assigned a CVSS v3.1 base score of 7.0 (HIGH) with the vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, RedHat Bugzilla).

Impact

The vulnerability allows local users to escalate their privileges to root level by exploiting the race condition. This can lead to complete system compromise as the attacker can execute arbitrary code with root privileges (RedHat Bugzilla).

Exploitability

The vulnerability requires local access and is exploitable through a race condition attack. A proof of concept exploit has been developed that demonstrates successful privilege escalation by creating multiple hardlinks in the /tmp directory targeting a malicious payload (RedHat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in updated versions of the package by using mktemp(1) for temporary file name creation instead of the predictable naming pattern. Various Linux distributions have released security updates to address this vulnerability, including Fedora 30 (0.9996-4.fc30), Fedora 31 (0.9996-6.fc31), and Fedora 32 (0.9996-6.fc32) (Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-72898CRITICAL10
  • NixOS logoNixOS
  • metabase
YesYesAug 10, 2026
CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-sqlite-debuginfo
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util-odbc
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util-mysql
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management