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 2153688 - Bad permissions for files shipped by libvirt-client
Summary: Bad permissions for files shipped by libvirt-client
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: libvirt
Version: ---
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Michal Privoznik
QA Contact: yalzhang@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2157091 2157092
TreeView+ depends on / blocked
 
Reported: 2022-12-15 08:17 UTC by Michal Privoznik
Modified: 2023-05-16 09:02 UTC (History)
9 users (show)

Fixed In Version: libvirt-8.0.0-13.module+el8.8.0+17719+f18c2d1b
Doc Type: Bug Fix
Doc Text:
Cause: Some scripts installed by libvirt RPMs have bad permissions (writable by root group). Consequence: This is potentially dangerous as a member of a root group (which is usually just root, but okay) could change the contents of the script. Fix: Scripts are now installed with rwxr-xr-x mode (i.e. writable only by root user). Result: Scripts are now writable by root user only.
Clone Of: 2151202
: 2157091 2157092 (view as bug list)
Environment:
Last Closed: 2023-05-16 08:18:36 UTC
Type: Bug
Target Upstream Version: 9.0.0
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-142409 0 None None None 2022-12-15 08:22:35 UTC
Red Hat Product Errata RHSA-2023:2757 0 None None None 2023-05-16 08:19:53 UTC

Comment 10 yalzhang@redhat.com 2023-01-05 05:50:55 UTC
Reproduce on libvirt-8.0.0-12.module+el8.8.0+17545+95582d4e.x86_64:

# rpm -q libvirt 
libvirt-8.0.0-12.module+el8.8.0+17545+95582d4e.x86_64

# ls -al /usr/bin/virt-*-validate
-rwxr-xr-x. 1 root root 25640 Dec 13 10:54 /usr/bin/virt-host-validate
-rwxrwxr-x. 1 root root  9772 Dec 13 10:53 /usr/bin/virt-pki-validate
-rwxrwxr-x. 1 root root  2840 Dec 13 10:53 /usr/bin/virt-xml-validate

And update to libvirt-8.0.0-13, the issue is fixed:
# rpm -q libvirt
libvirt-8.0.0-13.module+el8.8.0+17719+f18c2d1b.x86_64
# ls -al /usr/bin/virt-*-validate
-rwxr-xr-x. 1 root root 25608 Jan  4 13:20 /usr/bin/virt-host-validate
-rwxr-xr-x. 1 root root  9772 Jan  4 13:20 /usr/bin/virt-pki-validate
-rwxr-xr-x. 1 root root  2840 Jan  4 13:20 /usr/bin/virt-xml-validate

Comment 13 yalzhang@redhat.com 2023-01-06 01:27:21 UTC
verified per comment 10

Comment 15 errata-xmlrpc 2023-05-16 08:18:36 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 (Moderate: virt:rhel and virt-devel:rhel security, 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/RHSA-2023:2757


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