Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 902395 Details for
Bug 1101346
CVE-2014-3248 puppet: Ruby modules could be loaded from the current working directory
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
revised hiera-1.3.3 patch
hiera-1.3.3-remove-current-directory-from-Ruby-load-path.patch (text/plain), 1020 bytes, created by
Murray McAllister
on 2014-06-05 04:57:34 UTC
(
hide
)
Description:
revised hiera-1.3.3 patch
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2014-06-05 04:57:34 UTC
Size:
1020 bytes
patch
obsolete
>From 5b71548ca9ea9ced460b2970c3e8fb483b495806 Mon Sep 17 00:00:00 2001 >From: Peter Huene <peter.huene@puppetlabs.com> >Date: Wed, 7 May 2014 11:07:58 -0700 >Subject: [PATCH] (HI-238) Remove current directory from Ruby load path. > >The current directory ('.') is on the load path for Ruby 1.8.7. >This is a security vulnerability as it allows arbitrary code loading if >users create ruby source files with names that correspond to those that >hiera is trying to load. > >The fix is to explicitly remove '.' from the load path before any code >is loaded by hiera. >--- > bin/hiera | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/bin/hiera b/bin/hiera >index ce2875e..1e6c46b 100755 >--- a/bin/hiera >+++ b/bin/hiera >@@ -1,5 +1,9 @@ > #!/usr/bin/env ruby > >+# For security reasons, ensure that '.' is not on the load path >+# This is primarily for 1.8.7 since 1.9.2+ doesn't put '.' on the load path >+$LOAD_PATH.delete '.' >+ > # CLI client for Hiera. > # > # To lookup the 'release' key for a node given Puppet YAML facts: >-- >1.9.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1101346
:
899370
|
899371
|
899372
|
899373
|
902394
| 902395 |
902396
|
902397
|
902398