Skip to content

ondemand-gems-4.0.7-1-4.0.7-1 RPM creating world writeable directories. #4712

@bviviano

Description

@bviviano

After updating our RHEL8 systems from 3.1.16 to 4.0.7, we started getting compliance alerts from our system monitoring tools that alerted us that 2 directories installed by ondemand-gems-4.0.7-1-4.0.7-1 were set to mode 777:

# ls -al /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.7-1/gems/rack-2.2.10/lib/rack/auth/abstract
total 8
drwxrwxrwx. 2 root root  80 Oct 22 05:54 .
drwxr-xr-x. 4 root root 100 Oct 22 05:54 ..
-rw-r--r--. 1 root root 814 Aug 15 11:04 handler.rb
-rw-r--r--. 1 root root 833 Aug 15 11:04 request.rb
# ls -al /opt/ood/ondemand/root/usr/share/gems/3.3/ondemand/4.0.7-1/gems/net-imap-0.3.7/lib/net
total 92
drwxrwxrwx. 3 root root    80 Oct 22 05:54 .
drwxr-xr-x. 3 root root    60 Oct 22 05:54 ..
drwxr-xr-x. 4 root root   240 Oct 22 05:54 imap
-rw-r--r--. 1 root root 93416 Aug 15 11:05 imap.rb

We've manually adjusted the permissions back to 755, which is what they were on 3.1.X and earlier. Please fix the issue with the next update.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions