Bug 1806523 - Not strict restrictive permissions in the doc folders: perl-devel
Summary: Not strict restrictive permissions in the doc folders: perl-devel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: perl
Version: 7.7
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: perl-maint-list
QA Contact: Martin Kyral
Lenka Špačková
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-24 12:46 UTC by Denis Volkov
Modified: 2020-09-29 19:18 UTC (History)
3 users (show)

Fixed In Version: perl-5.16.3-297.el7
Doc Type: Bug Fix
Doc Text:
.Documentation files from `perl-devel` no longer have a write permission for a group Previously, certain documentation files from the `perl-devel` package had a write permission set for a group. Consequently, users in the root group could write into these files, which represented a security risk. With this update, the write bit for a group has been removed for the affected files. As a result, no documentation file from `perl-devel` has a write permission set for a group.
Clone Of:
: 1913693 1934121 (view as bug list)
Environment:
Last Closed: 2020-09-29 19:18:20 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:3854 0 None None None 2020-09-29 19:18:24 UTC

Description Denis Volkov 2020-02-24 12:46:16 UTC
Description of problem:
Files in documentation folder have 'loose' permissions:
    In the file /usr/share/doc/perl-devel-5.16.3/perl-example.stp , the permission is 0664. 0755 is expected or more restrictive

Version-Release number of selected component (if applicable):
    perl-devel-5.16.3-294.el7_6.x86_64

Additional info:
Customer has security checker that complains about loose permissions for tomcat documentation files. Customer is concerned that group-write permissions to the documentation files may affect the security of the system and requesting for removing write permissions on group.

Comment 2 Petr Pisar 2020-02-24 13:05:33 UTC
I confirm the file has 0664 permissions while it should have 0644 permission.

There is no 7.10 version of RHEL. I'm correcting the version value of this bug report the latest released 7.7. If your customer has a different RHEL version or need the fix in any previous RHEL versions, let me know.

Comment 3 Petr Pisar 2020-02-24 13:14:58 UTC
This bug is caused by a 0002 umask on the build server. A simple fix is needed to the specification file:

 #copy the example script
-cp -a %{SOURCE5} .
+install -m 0644 %{SOURCE5} .

Comment 14 errata-xmlrpc 2020-09-29 19:18:20 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 (perl 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-2020:3854


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