I have installed the bind9 package in a Debian Docker image, and I ran a Trivy scan on that Docker image. The Trivy scan identified a vulnerability in the bind9 package. Therefore, I am attempting to resolve this issue by installing an older stable version with the version number mentioned in this page. But when I try to run the command apt-get update
and apt-get install bind9=<versionnumber>
, I got the error saying "Version versionnumber for bind9 was not found".
Is it possible to install another version of a package in Debian (old or newer from future release)? If not how we should usually fix the vulnerability?
And I ran the scan with Ubuntu image with bind9 and it didn't show any vulnerability. Therefore, I compared the bind9 versions between Debian and Ubuntu, they are different. Is it possible to install the bind9 package version in Debian that showed in Ubuntu?
Depends: bind9utils (= 1:9.11.5.P4+dfsg-5.1+deb10u8)
Depends: libbind9-161 (= 1:9.11.5.P4+dfsg-5.1+deb10u8) but 1:9.11.19+dfsg-2.1 is to be installed
Depends: libisccc161 (= 1:9.11.5.P4+dfsg-5.1+deb10u8) but 1:9.11.19+dfsg-2.1 is to be installed
Depends: libisccfg163 (= 1:9.11.5.P4+dfsg-5.1+deb10u8) but 1:9.11.19+dfsg-2.1 is to be installed
Depends: liblwres161 (= 1:9.11.5.P4+dfsg-5.1+deb10u8) but 1:9.11.19+dfsg-2.1 is to be installed