CVE-2023-32697:
Sqlite-jdbc vulnerable to remote code execution when JDBC url is attacker controlled
8.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.87107%
CWE
Published
5/23/2023
Updated
11/7/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.xerial:sqlite-jdbc | maven | >= 3.6.14.1, < 3.41.2.2 | 3.41.2.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how JDBC
URL parameters (particularly 'lib') were processed to load native libraries. The patch introduced random UUIDs for temporary resources (commit edb4b8a
), indicating the previous implementation used attacker-controlled input to determine library paths. The SQLiteJDBCLoader
's extraction logic and SQLiteConnection
's URL parsing directly handle these untrusted inputs, making them the injection points for malicious library loading.