Program crash via NULL sqlcipher_export argument
Published Mar 25, 2021 · Updated Aug 3, 2024
NULL pointer dereference in Zetetic SQLCipher 4.x before 4.4.3 allows attackers to crash a consuming program via crafted SQL. The sqlcipher_export function accepts a NULL target-database argument and passes it to sqlite3StrICmp, which treats it as a string and dereferences it. An attacker must execute the crafted select sqlcipher_export(:0) statement, such as through SQL injection; the resulting segmentation fault interrupts only the hosting process.
Summary
What happened
NULL pointer dereference in Zetetic SQLCipher 4.x before 4.4.3 allows attackers to crash a consuming program via crafted SQL. The sqlcipher_export function accepts a NULL target-database argument and passes it to sqlite3StrICmp, which treats it as a string and dereferences it. An attacker must execute the crafted select sqlcipher_export(:0) statement, such as through SQL injection; the resulting segmentation fault interrupts only the hosting process.
The record
- CVE
- CVE-2021-3119
- Published
- Mar 25, 2021
- Updated
- Aug 3, 2024
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-476, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 25, 2021CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Crafted sqlcipher_export NULL-argument SQL sequenceproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo