On one machine I have switched from ports to packages because of slow hardware specs (very long port build times) and have observed that pkg installs/upgrade packages to new versions that are vulnerable resulting in couple of vulnerable packages. For example I now see
If I were to install these two packages by using the ports tree the install/upgrade would fail and thus keep the "old" but non-vulnerable packages.
My question is: is it possible to prevent pkg from installing/upgrading packages that are know to be vulnerable?
Code:
pkg audit -F
vulnxml file up-to-date
linux-c6-xorg-libs-7.4_3 is vulnerable:
libXfont -- BDF parsing issues
CVE: CVE-2015-1804
CVE: CVE-2015-1803
CVE: CVE-2015-1802
WWW: https://vuxml.FreeBSD.org/freebsd/f7d79fac-cd49-11e4-898f-bcaec565249c.html
curl-7.46.0_2 is vulnerable:
curl -- Credentials not checked
CVE: CVE-2016-0755
WWW: https://vuxml.FreeBSD.org/freebsd/8b27f1bc-c509-11e5-a95f-b499baebfeaf.html
2 problem(s) in the installed packages found.
My question is: is it possible to prevent pkg from installing/upgrading packages that are know to be vulnerable?