Double Free in Shapelib - CVE-2022-0699
Published: August 16, 2023 / Updated: December 26, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in contrib/shpsort.c. A remote attacker can pass specially crafted data to the application, trigger double free error and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Fedora
openEuler
shapelib
shapelib-debugsource
shapelib-devel
shapelib-help
shapelib-debuginfo
How to mitigate CVE-2022-0699
shapelib - addressed in versions 1.3.0-3.el7, 1.5.0-12.el8, 1.5.0-12.el9, 1.5.0-12.fc36
shapelib - update to 1.5.0-2
shapelib-debugsource - update to 1.5.0-2
shapelib-devel - update to 1.5.0-2
shapelib-help - update to 1.5.0-2
shapelib-debuginfo - update to 1.5.0-2