Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2015564

Summary: Errata released for gettext 7.7 EUS is seen as a higher version to yum resulting in a false positive security scan
Product: Red Hat Enterprise Linux 7 Reporter: jcastran
Component: gettextAssignee: Sundeep Anand <suanand>
Status: CLOSED ERRATA QA Contact: QE Internationalization Bugs <qe-i18n-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.9CC: eng-i18n-bugs, jreznik, snavale, sshedmak
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-23 17:17:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jcastran 2021-10-19 14:04:53 UTC
Description of problem:
 https://access.redhat.com/security/cve/CVE-2018-18751

The errata for 7.7 shows as a higher version due to the _7 tag. This results in false positives for security scanners looking at the OVAL data.  

 Remote package installed : gettext-0.19.8.1-3.el7
 Should be                : gettext-0.19.8.1-3.el7_7

 Remote package installed : gettext-libs-0.19.8.1-3.el7
 Should be                : gettext-libs-0.19.8.1-3.el7_7

Expected results:
We'll need to re-release the 7.9 errata with el7_9 for security scans to not consider the 7.7 version an update to a 7.9 system.

Comment 3 Parag Nemade 2021-10-21 05:35:35 UTC
Sorry I don't understand the problem here. All I find is
7.7.0 repository provides gettext-0.19.8.1-2.el7
7.7.Z repository provides gettext-0.19.8.1-3.el7_7
7.8.0 repository provides gettext-0.19.8.1-3.el7
7.9.0 repository provides gettext-0.19.8.1-3.el7 

Now If I consider customer is having 7.7.z update installed on his system then it will be
gettext-0.19.8.1-3.el7_7

Now if customer want to update to 7.9.0 release then he will get
gettext-0.19.8.1-3.el7 

but you are saying customer is not able to update to "gettext-0.19.8.1-3.el7" and his system remained using "gettext-0.19.8.1-3.el7_7" build?

To fix this build same "gettext-0.19.8.1-3.el7" as "gettext-0.19.8.1-3.el7_9" and submit 7.9.z errata?

If the answers to above questions are "yes" then I am not sure if we really need to re-release errata. Basically its the same build from RHEL-7.7.Z system to RHEL-7.9.0 system.

I would like to know where exactly is the issue?

Comment 4 jcastran 2021-10-21 11:29:57 UTC
The problem is when a customer is using 7.9, they have gettext-0.19.8.1-3.el7 installed. But a security scan is showing them they need gettext-0.19.8.1-3.el7_7


 Remote package installed : gettext-0.19.8.1-3.el7
 Should be                : gettext-0.19.8.1-3.el7_7

RHSA OVAL definitions are designed to check for vulnerable versions of RPM packages installed on a system. yum sees the _7 as update. This is the link provided to me by the customer.

https://www.redhat.com/security/data/cvrf/2020/cvrf-rhsa-2020-2485.xml

Comment 7 Sundeep Anand 2021-11-03 09:22:15 UTC
gettext-0.19.8.1-4.el7_9 is built now! 
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=40835823

Comment 8 Sundeep Anand 2021-11-03 15:12:04 UTC
As libcroco CVE fix was not required (ref: https://bugzilla.redhat.com/show_bug.cgi?id=1866540), reverted it back.

And, built gettext-0.19.8.1-3.el7_9 (details: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=40838720)

Comment 16 errata-xmlrpc 2021-11-23 17:17:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gettext bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:4794