Heap-based buffer overflow in OpenSC - CVE-2020-26570
Published: October 6, 2020 / Updated: November 27, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the sc_oberthur_read_file. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Server for SAP
openEuler
Fedora
opensc (Alpine package)
opensc (Red Hat package)
opensc
opensc-debuginfo
opensc-debugsource
opensc-help
How to mitigate CVE-2020-26570
opensc (Alpine package) - update to 0.21.0-r0
opensc (Red Hat package) - update to 0.20.0-4.el8
opensc - addressed in versions 0.13.0-3.11.1, 0.18.0-150000.3.23.1, 0.19.0-3.7.1
opensc-debuginfo - addressed in versions 0.13.0-3.11.1, 0.18.0-150000.3.23.1, 0.19.0-3.7.1
opensc-debugsource - addressed in versions 0.13.0-3.11.1, 0.18.0-150000.3.23.1, 0.19.0-3.7.1
opensc - update to 0.20.0-4
opensc-debuginfo - update to 0.20.0-4
opensc-debugsource - update to 0.20.0-4
opensc-help - update to 0.20.0-4
opensc - update to 0.21.0-1.fc33