NULL pointer dereference in DBI - CVE-2019-20919
Published: September 17, 2020 / Updated: September 22, 2020
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in the DBI module before 1.643 for Perl. The hv_fetch() documentation requires checking for NULL and the code does that. But, shortly thereafter, it calls SvOK(profile), causing a NULL pointer dereference. A remote attacker can perform a denial of service (DoS) attack.
Affected software
Ubuntu
Opensuse
openEuler
Fedora
libdbi-perl (Ubuntu package)
perl-DBI
perl-DBI-help
perl-DBI-debugsource
perl-DBI-debuginfo
How to mitigate CVE-2019-20919
libdbi-perl (Ubuntu package) - addressed in versions 1.616-1ubuntu0.2, 1.630-1ubuntu0.1~esm4, 1.634-1ubuntu0.2, 1.640-1ubuntu0.2
perl-DBI - update to 1.643-1
perl-DBI-help - update to 1.643-1
perl-DBI-debugsource - update to 1.643-1
perl-DBI-debuginfo - update to 1.643-1
perl-DBI - update to 1.643-3.fc31