CVE-2022-46908 SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions suc...
HighCVSS 7.3
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
SQLite through 3.40.0, when relying on --safe for execution of an untrusted CLI script, does not properly implement the azProhibitedFunctions protection mechanism, and instead allows UDF functions such as WRITEFILE.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/sqlite3(Debian 12) | < 3.40.0-2 | 3.40.0-2 | Fixed |
| debian/sqlite3(Debian 13) | < 3.40.0-2 | 3.40.0-2 | Fixed |
| debian/sqlite3(Debian 14) | < 3.40.0-2 | 3.40.0-2 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 | Fixed |
| SQLite | >= 3.37.0, < 3.40.1 | 3.40.1 | Fixed |
| ubuntu/sqlite3(Ubuntu 22.04) | < 3.37.2-2ubuntu0.3; = 3.35.5-1; = 3.36.0-2; = 3.37.2-2 +1 more | 3.37.2-2ubuntu0.3 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/sqlite3(Ubuntu:22.04) | < 3.37.2-2ubuntu0.3 | 3.37.2-2ubuntu0.3 |
| SQLite | >= 3.37.0, < 3.40.1 | 3.40.1 |
| debian/sqlite3(Debian:12) | < 3.40.0-2 | 3.40.0-2 |
| debian/sqlite3(Debian:14) | < 3.40.0-2 | 3.40.0-2 |
| debian/sqlite3(Debian:13) | < 3.40.0-2 | 3.40.0-2 |
| ubuntu/sqlite3(Ubuntu:22.04) | = 3.35.5-1 | No fix listed |
| ubuntu/sqlite3(Ubuntu:22.04) | = 3.36.0-2 | No fix listed |
| ubuntu/sqlite3(Ubuntu:22.04) | = 3.37.2-2 | No fix listed |
| ubuntu/sqlite3(Ubuntu:22.04) | = 3.37.2-2ubuntu0.1 | No fix listed |
References
- Debian Security Tracker CVE-2022-46908 vendor-advisory
- news.ycombinator.com exploit issue-tracking third-party-advisory
- sqlite.org exploit issue-tracking vendor-advisory
- sqlite.org patch vendor-advisory
- security.netapp.com third-party-advisory
- GLSA-202311-03 vendor-advisory
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6566-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2022-49687 third-party-advisory