Use-after-free in SQLite - CVE-2020-13871

 

Use-after-free in SQLite - CVE-2020-13871

Published: June 7, 2020 / Updated: October 28, 2023


Vulnerability identifier: #VU28773
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-13871
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in resetAccumulator() function in select.c. A remote attacker can pass specially crafted data to the application, trigger a use-after-free error and crash the service or execute arbitrary code on the target system



Affected software

SQLite
Gentoo Linux
Junos OS
openEuler
Junos OS Evolved
Fedora
Oracle Communications Network Charging and Control
MySQL Workbench
Oracle Communications Instant Messaging Server
Autodesk Infraworks
SINEC INS
sqlite-help
sqlite-devel
sqlite-debugsource
sqlite-debuginfo
sqlite
Google Chrome for Android

How to mitigate CVE-2020-13871

Install update from vendor's website.

SQLite - update to 3.32.3
MySQL Workbench - update to 8.0.23
Junos OS - addressed in versions 19.3R3-S6, 19.4R2-S6, 19.4R3-S8, 20.1R3-S4, 20.2R3-S4, 20.3R3-S3
Junos OS Evolved - addressed in versions 21.2R3-EVO, 21.3R3-EVO, 21.4R2-EVO, 22.1R1-EVO
Autodesk Infraworks - addressed in versions 2021.2 Hotfix 9, 2023.1 Hotfix 1
SINEC INS - update to 1.0.1.1
sqlite-help - update to 3.31.1-2
sqlite-devel - update to 3.31.1-2
sqlite-debugsource - update to 3.31.1-2
sqlite-debuginfo - update to 3.31.1-2
sqlite - update to 3.31.1-2
sqlite - update to 3.33.0-1.fc32
Google Chrome for Android - update to 86.0.4240.99

External References

Related Security Bulletins