Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e267cd3682d48bd7b70d3bed1834bdcb81264ef9
Ticket: 2906841fffffffffffffffffffffffffffffffff
calling [glob ../*] in an safe interp returns weird things
User & Date: dkf on 2009-12-03 21:09:21
Changes

  1. icomment:
    OK, with digging around I find that this security bug was introduced with the fix for [Bug 1999119] (enabling Tcl Module support) which corresponds to the 1.16->1.17 or 1.16->1.16.4.1 change.
    
    The issue is that AliasGlob does not check for directory components in the pattern arguments to [glob], let alone work out whether those components refer to to locations that are "bad". :-(
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. priority changed to: "9 Immediate"
  5. username: "dkf"