Red Hat Bugzilla – Bug 1304511
oscap oval eval --results produces CVE results for incorrect kernel
Last modified: 2016-02-08 06:58:04 EST
Description of problem:
The com.redhat.rhsa-all.xml is reporting incorrect kernel vulnerability updates required.
In this test, a RHEL 6.7 system is used and RHEL 6.4 vulnerabilities are reported as needing to be addressed.
Version-Release number of selected component (if applicable):
$ cat uname -a
Linux rhel64-ia-01 2.6.32-573.12.1.el6.x86_64 #1 SMP Mon Nov 23 12:55:32 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
Red Hat Enterprise Linux Workstation release 6.7 (Santiago)
Steps to Reproduce:
Reference URL- https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Security_Guide/sect-Practical_Examples.html#sect-Auditing_Security_Vulnerabilities_Example
1. yum install openscap-utils
2. wget http://www.redhat.com/security/data/oval/com.redhat.rhsa-all.xml
3. oscap oval eval --results rhsa-results-oval.xml --report oval-report.html com.redhat.rhsa-all.xml
33 kernel errors. When selecting the link that describes the error, it shows CVEs/Patches for RHEL 6.4 (kernel-2.6.32-358.69.1.el6.x86_64). In this test, we are running RHEL 6.7 (2.6.32-573.12.1.el6.x86_64)
Only relevant CVEs/Patches for the correct kernel.
Is kernel-2.6.32-358.69.1.el6.x86_64 installed on the machine? The CVE scan will report vulnerabilities for all installed packages, not just the ones that are running or in use.
Thanks time you spent filing this bug. Please communicate the following
to the customer.
Based on the sos report, on the system there are three kernels packages
The vulnerability scan looks for any package that is vulnerable and is installed on the system. Hence you have got reports for kernel-2.6.32-358.el6.x86_64. The rationale is that here is a risk that someone would boot to this kernel package.