[Bug 212306] ports-mgmt/pkg patch to add ability to run pkg audit on base from periodic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 1 12:39:39 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212306
Bug ID: 212306
Summary: ports-mgmt/pkg patch to add ability to run pkg audit
on base from periodic
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: 000.fbsd at quip.cz
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
Created attachment 174284
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174284&action=edit
add 405.pkg-base-audit for periodic/security
As I posted to mailinglist
https://lists.freebsd.org/pipermail/freebsd-security/2016-August/009049.html
VuXML allows to check base for vulnerabilities (thanks to Mark Felder) but
there are no functionality in base or pkg to check it by periodic scripts.
I wrote one called 405.pkg-base-audit. It is heavily based on original
410.pkg-audit. It can check chroots and jails too.
Standalone script can be found at
http://freebsd.quip.cz/script/405.base-audit.sh
I made a patch for ports-mgmt/pkg (we are using it on all our machines).
The patch is really simple just to add 405.pkg-base-audit to
ports-mgmt/pkg/files. I don't want to touch anything in source pkg tarball.
It is just a proof of concept.
I am not sure it is coded well and if it can be included in official
ports-mgmt/pkg or not.
Example output of nightly security output:
Checking for security vulnerabilities in base (userland & kernel):
Host system:
vulnxml file up-to-date
FreeBSD-10.3_3 is vulnerable:
libarchive -- multiple vulnerabilities
CVE: CVE-2015-2304
CVE: CVE-2013-0211
WWW:
https://vuxml.FreeBSD.org/freebsd/7c63775e-be31-11e5-b5fe-002590263bf5.html
FreeBSD-10.3_3 is vulnerable:
FreeBSD -- Heap vulnerability in bspatch
CVE: CVE-2014-9862
WWW:
https://vuxml.FreeBSD.org/freebsd/7d4f4955-600a-11e6-a6c3-14dae9d210b8.html
FreeBSD-10.3_3 is vulnerable:
FreeBSD -- Multiple ntp vulnerabilities
CVE: CVE-2016-4957
CVE: CVE-2016-4956
CVE: CVE-2016-4955
CVE: CVE-2016-4954
CVE: CVE-2016-4953
WWW:
https://vuxml.FreeBSD.org/freebsd/7cfcea05-600a-11e6-a6c3-14dae9d210b8.html
1 problem(s) in the installed packages found.
vulnxml file up-to-date
FreeBSD-kernel-10.3_3 is vulnerable:
FreeBSD -- Kernel stack disclosure in Linux compatibility layer
WWW:
https://vuxml.FreeBSD.org/freebsd/7c5d64dd-600a-11e6-a6c3-14dae9d210b8.html
FreeBSD-kernel-10.3_3 is vulnerable:
FreeBSD -- Kernel stack disclosure in 4.3BSD compatibility layer
WWW:
https://vuxml.FreeBSD.org/freebsd/7cad4795-600a-11e6-a6c3-14dae9d210b8.html
1 problem(s) in the installed packages found.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list