Bug 1431466

Summary: openstack-gnocchi: /var/log/gnocchi is world readable
Product: Red Hat OpenStack Reporter: Summer Long <slong>
Component: openstack-gnocchiAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Sasha Smolyak <ssmolyak>
Severity: high Docs Contact:
Priority: medium    
Version: 11.0 (Ocata)CC: apevec, eglynn, jruzicka, jschluet, lhh, pkilambi, srevivo, ssmolyak
Target Milestone: z4Keywords: Security, Triaged, ZStream
Target Release: 11.0 (Ocata)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-gnocchi-3.1.11-1.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1431465
: 1431468 (view as bug list) Environment:
Last Closed: 2018-02-13 16:42:10 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 Summer Long 2017-03-12 23:47:58 UTC
Description of problem:
The directory /var/log/gnocchi is world readable and contains log files that are readable, which can result in the exposure of sensitive information. The 'other readable/execute' bits need to be removed from the /var/log/gnocchi directory.

Because no sensitive data was found in the files, this is being raised as a hardening bug, and not a flaw.

Version-Release number of selected component (if applicable):
3.1.1-0.20170218181806.ca27a17.el7ost

How reproducible:
List /var/log directory for openstack-gnocchi:
$  ls -la gnocchi
total 48
drwxr-xr-x.  2 gnocchi root       81 Mar  8 22:41 .
drwxr-xr-x. 25 root    root     4096 Mar 12 19:44 ..
-rw-r--r--.  1 gnocchi gnocchi  1242 Mar  8 22:41 app.log
-rw-r--r--.  1 gnocchi gnocchi  1081 Mar  8 22:15 gnocchi-upgrade.log
-rw-r--r--.  1 gnocchi gnocchi 28742 Mar 12 19:45 metricd.log
-rw-r--r--.  1 gnocchi gnocchi  3554 Mar 12 19:45 statsd.log

Actual results:
Directory and files are world readable.

Expected results:
Directory and files should not be world readable.

Comment 7 errata-xmlrpc 2018-02-13 16:42:10 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, 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-2018:0312