CVE-2021-20227
What it is
A flaw was found in SQLite's SELECT query functionality (src/select.c). This flaw allows an attacker who is capable of running SQL queries locally on the SQLite database to cause a denial of service or possible code execution by triggering a use-after-free. The highest threat from this vulnerability is to system availability.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 5.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-416 · Use after free
- Record status
- Modified
Affected
- Sqlite < 3.34.1
- Oracle Communications Network Charging And Control ≤ 12.0.4.0.0
- Oracle Communications Network Charging And Control 6.0.1
- Oracle Enterprise Manager For Oracle Database 13.4.0.0
- Oracle Jd Edwards Enterpriseone Tools < 9.2.6.0
- Oracle MySQL Workbench ≤ 8.0.26
- Oracle Outside In Technology 8.5.5
- Oracle Zfs Storage Appliance Kit 8.8
Attack profile CVSS 3.1 · 5.5
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-20227.md and follow it. Check whether this project is affected by CVE-2021-20227. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.sqlite.org/releaselog/3_34_1.html
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.sqlite.org/releaselog/3_34_1.html
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1924886
- https://security.gentoo.org/glsa/202103-04
- https://security.gentoo.org/glsa/202210-40
- https://security.netapp.com/advisory/ntap-20210423-0010/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.sqlite.org/releaselog/3_34_1.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1924886
- https://security.gentoo.org/glsa/202103-04
- https://security.gentoo.org/glsa/202210-40
- https://security.netapp.com/advisory/ntap-20210423-0010/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.sqlite.org/releaselog/3_34_1.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html