Segmentation Fault in SQLite (CVE-2020-13435)
Summary
CVE-2020-13435: SQLite through 3.32.0 has a segmentation fault in sqlite3ExprCodeTarget in expr.c. Affects sqlite across 2 version ranges.
< 0b0274a90c68a20c3dcab0b9f5719adda9402117
< 3.32.1-r0
Fixed in 3.32.1-r0. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
SQLite is a popular embedded database engine that provides a lightweight and self-contained solution for managing relational databases. It is widely used in various applications and operating systems. However, a vulnerability has been discovered in SQLite versions up to 3.32.0 that can lead to a segmentation fault. This vulnerability, identified as CVE-2020-13435, occurs in the sqlite3ExprCodeTarget function in the expr.c file.
Vulnerability Detail
The vulnerability in SQLite (CVE-2020-13435) arises due to a segmentation fault in the sqlite3ExprCodeTarget function. This can be exploited by an attacker to cause a denial-of-service (DoS) condition or potentially execute arbitrary code. The vulnerability has a CVSSv3 score of 5.5, indicating a moderate severity level. It is important to note that this vulnerability has been fixed in version 3.32.1-r0 of SQLite.
How To Fix
Minimum fixed version
3.32.1-r0
This is the first release that contains the fix.
sudo apk add --upgrade sqlite
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround available for this vulnerability. It is essential to apply the official fix by updating SQLite to the patched version.
Conclusion
The vulnerability (CVE-2020-13435) in SQLite can lead to a segmentation fault and potentially enable arbitrary code execution. It is crucial to update SQLite to version 3.32.1-r0 or later to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for sqlite →
FAQ
SQLite is an embedded database engine that provides a lightweight and self-contained solution for managing relational databases. It is widely used in various applications and operating systems.
The vulnerability (CVE-2020-13435) in SQLite can lead to a segmentation fault, potentially causing a denial-of-service (DoS) condition or enabling arbitrary code execution.
To fix the vulnerability, update SQLite to version 3.32.1-r0 or later by following the official upgrade instructions provided by the SQLite project.
No, there is no known workaround for this vulnerability. It is crucial to apply the official fix by updating SQLite to the patched version.
The vulnerability (CVE-2020-13435) in SQLite has a CVSSv3 score of 5.5, indicating a moderate severity level.
References
Related vulnerabilities
Recent vulnerabilities recorded for sqlite.