Bug 1431490 - openvswitch: /var/log/openvswitch is world readable
Summary: openvswitch: /var/log/openvswitch is world readable
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openvswitch
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 10.0 (Newton)
Assignee: Timothy Redaelli
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-13 01:39 UTC by Summer Long
Modified: 2022-07-09 11:15 UTC (History)
21 users (show)

Fixed In Version: openvswitch-2.6.1-11.git20161206.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1431489
: 1431494 (view as bug list)
Environment:
Last Closed: 2017-09-06 16:59:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-17119 0 None None None 2022-07-09 11:15:22 UTC
Red Hat Product Errata RHSA-2017:2648 0 normal SHIPPED_LIVE Moderate: openvswitch security and bug fix update 2017-09-06 20:53:24 UTC

Description Summer Long 2017-03-13 01:39:12 UTC
Description of problem:
The directory /var/log/openvswitch 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/openvswitch 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):
openvswitch-2.5.0-14.git20160727.el7fdp

Steps to reproduce:
$ ls -la /var/log/openvswitch
total 48
drwxr-xr-x.  2 root root 4096 Mar 12 03:20 .
drwxr-xr-x. 31 root root 4096 Mar  5 18:23 ..
-rw-r--r--.  1 root root   95 Mar 12 03:20 ovsdb-server.log
-rw-r--r--.  1 root root  138 Mar  8 03:39 ovsdb-server.log-20170309.gz
-rw-r--r--.  1 root root  139 Mar  9 03:40 ovsdb-server.log-20170310.gz
-rw-r--r--.  1 root root  140 Mar 10 03:29 ovsdb-server.log-20170311.gz
-rw-r--r--.  1 root root  140 Mar 11 03:14 ovsdb-server.log-20170312.gz
-rw-r--r--.  1 root root   95 Mar 12 03:20 ovs-vswitchd.log
-rw-r--r--.  1 root root  104 Mar  8 03:39 ovs-vswitchd.log-20170309.gz
-rw-r--r--.  1 root root  104 Mar  9 03:40 ovs-vswitchd.log-20170310.gz
-rw-r--r--.  1 root root  104 Mar 10 03:29 ovs-vswitchd.log-20170311.gz
-rw-r--r--.  1 root root  104 Mar 11 03:14 ovs-vswitchd.log-20170312.gz

Comment 1 Red Hat Bugzilla Rules Engine 2017-03-16 15:39:47 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 7 errata-xmlrpc 2017-09-06 16:59:49 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/RHSA-2017:2648


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