CVE Vulnerabilities

CVE-2024-0232

Use After Free

Published: Jan 16, 2024 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
4.7 LOW
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
SqliteSqlite3.43.0 (including)3.43.2 (excluding)
SqliteUbuntubionic*
SqliteUbuntutrusty*
SqliteUbuntuupstream*
SqliteUbuntuxenial*
Sqlite3Ubuntubionic*
Sqlite3Ubuntutrusty*
Sqlite3Ubuntuupstream*
Sqlite3Ubuntuxenial*

Potential Mitigations

References