RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1304511 - oscap oval eval --results produces CVE results for incorrect kernel
Summary: oscap oval eval --results produces CVE results for incorrect kernel
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openscap
Version: 6.7
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Šimon Lukašík
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-03 21:14 UTC by Bryan Totty
Modified: 2019-09-12 09:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-04 12:27:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bryan Totty 2016-02-03 21:14:24 UTC
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)

openscap-1.0.10-3.el6.x86_64
openscap-scanner-1.0.10-3.el6.x86_64
openscap-utils-1.0.10-3.el6.x86_64


How reproducible:
Always.

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


Actual results:
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)

Expected results:
Only relevant CVEs/Patches for the correct kernel.

Comment 5 Martin Preisler 2016-02-04 10:45:36 UTC
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.

Comment 6 Šimon Lukašík 2016-02-04 12:16:34 UTC
Hello Bryan,

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
installed:

    kernel-2.6.32-358.el6.x86_64
    kernel-2.6.32-504.23.4.el6.x86_64
    kernel-2.6.32-573.12.1.el6.x86_64

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.


Note You need to log in before you can comment on or make changes to this bug.