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 899373 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]
puppet patch from upstream
puppet-3.6.1-remove-current-directory-from-Ruby-load-path.patch (text/plain), 953 bytes, created by
Murray McAllister
on 2014-05-27 03:14:07 UTC
(
hide
)
Description:
puppet patch from upstream
Filename:
MIME Type:
Creator:
Murray McAllister
Created:
2014-05-27 03:14:07 UTC
Size:
953 bytes
patch
obsolete
>From e9086aae5b10a58679e64346b39100bc69608a1e Mon Sep 17 00:00:00 2001 >From: Peter Huene <peter.huene@puppetlabs.com> >Date: Tue, 6 May 2014 12:49:59 -0700 >Subject: [PATCH] (PUP-2478) 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 >puppet is trying to load. > >The fix is to explicitly remove '.' from the load path before any code >is loaded by puppet. > >diff --git a/bin/puppet b/bin/puppet >index c030702..c80174f 100755 >--- a/bin/puppet >+++ b/bin/puppet >@@ -1,4 +1,8 @@ > #!/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 '.' >+ > require 'puppet/util/command_line' > Puppet::Util::CommandLine.new.execute >-- >1.8.4.3 >
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