CVE-2024-0232 Sqlite: use-after-free bug in jsonparseaddnodearray
A local attacker can cause a denial of service in applications using SQLite by triggering a use-after-free bug via crafted JSON input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-0232?
CVE-2024-0232 is a medium-severity use after free vulnerability in Fedoraproject Extra Packages for Enterprise Linux, published on 16 Jan 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
A heap use-after-free issue has been identified in SQLite in the jsonParseAddNodeArray() function in sqlite3.c. This flaw allows a local attacker to leverage a victim to pass specially crafted malicious input to the application, potentially causing a crash and leading to a denial of service.
Weakness: CWE-416
Which versions are affected by CVE-2024-0232?
1 open source package ship an affected version, including sqlite. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
sqlite Bitnami | From 3.43.0 | None |
Products include Fedoraproject Extra Packages for Enterprise Linux, Fedoraproject Fedora, Redhat Enterprise Linux, Sqlite Sqlite.
How do I fix CVE-2024-0232?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-0232 being exploited?
There is no known exploitation of CVE-2024-0232 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Extra Packages for Enterprise Linux
- CVE-2023-34152 Command injection in ImageMagick
- CVE-2022-4170 Code injection in rxvt-unicode
- CVE-2022-40315 Moodle Minor SQL injection risk in admin user browsing
- CVE-2022-45152 Moodle blind Server-Side Request Forgery (SSRF) vulnerability in LTI provider library
- CVE-2022-24882 Server side NTLM does not properly check parameters in FreeRDP
All Fedoraproject Extra Packages for Enterprise Linux vulnerabilities
Sources
Also known as BELL-CVE-2024-0232, BIT-sqlite-2024-0232, DEBIAN-CVE-2024-0232, GHSA-3r49-2w65-cxgr.