Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1325934 - (CVE-2016-3108) CVE-2016-3108 pulp: Insecure temporary file used when generating certificate for Pulp Nodes
CVE-2016-3108 pulp: Insecure temporary file used when generating certificate ...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160413,repor...
: Security
Depends On: 1326913 1326919
Blocks: 1325942
  Show dependency treegraph
 
Reported: 2016-04-11 08:53 EDT by Adam Mariš
Modified: 2018-09-19 11:16 EDT (History)
18 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
It was found that the private key for the node certificate was contained in a world-readable temporary file. A local user could possibly use this flaw to gain access to the private key information in the temporary file.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-19 15:02:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch (1.99 KB, patch)
2016-04-11 08:54 EDT, Adam Mariš
no flags Details | Diff
Proposed patch (2.06 KB, patch)
2016-04-12 10:32 EDT, Randy Barlow
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Pulp Redmine 1842 Low CLOSED - WORKSFORME Test Redmine's Bugzilla Integration 2016-04-13 15:57 EDT

  None (edit)
Description Adam Mariš 2016-04-11 08:53:28 EDT
It was reported that pulp-gen-nodes-certificate script uses insecurely created temporary files for storing the generated node certificates, allowing local attackers to leak the keys or overwrite arbitrary file via symlink.
Comment 1 Adam Mariš 2016-04-11 08:53:37 EDT
Acknowledgments:

Name: Jeremy Cline (Red Hat), Sander Bos
Comment 2 Adam Mariš 2016-04-11 08:54 EDT
Created attachment 1145990 [details]
Proposed patch
Comment 3 Randy Barlow 2016-04-12 10:32 EDT
Created attachment 1146475 [details]
Proposed patch

I am attaching a revised version of the patch that removes the unneeded umask statement, and credits jcline in the commit message.
Comment 4 Randy Barlow 2016-04-13 12:52:53 EDT
This is reported upstream as #1830 and is fixed by PR #2528:

https://pulp.plan.io/issues/1830
https://github.com/pulp/pulp/pull/2528
Comment 7 pulp-infra@redhat.com 2016-04-13 15:57:29 EDT
The Pulp upstream bug status is at CLOSED - WORKSFORME. Updating the external tracker on this bug.
Comment 8 pulp-infra@redhat.com 2016-04-13 15:57:35 EDT
The Pulp upstream bug priority is at Low. Updating the external tracker on this bug.
Comment 9 Kurt Seifried 2016-09-19 15:02:46 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 6.2

Via RHSA-2016:1501

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