Skip to content
Tcl Source Code History Of Ticket ba3a158b5210723a
Login

History Of Ticket ba3a158b5210723a

Artifacts Associated With Ticket ba3a158b5210723a

  1. Ticket change [275a260a10] (rid 229706) by apnadkarni on 2024-08-04 03:29:58:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-markdown"
    4. comment initialized to:
      ```
      % interp create -safe ip
      ip
      % ip eval {info hostname}
      io
      % ip eval {info loaded}
      {//zipfs:/lib/tcl/tcl_library/registry/tcl9registry13.dll Registry}
      ```
      
      `info loaded` should not be permitted for the same reason `info nameofexecutable` is currently not allowed - it reveals file system information.  `info script` might fall into the same category but need to check if it already obfuscates file paths when `source` is exposed to a safe interpreter, for example via SafeBase. 
      
      `info hostname` is perhaps debatable. It is part of a larger set that leak information about the host system OS and arch (tcl_platform, info pathseparator etc.). Should all these be blocked in a safe interpreter?
      
    5. foundin initialized to: "9.0"
    6. is_private initialized to: "0"
    7. login: "apnadkarni"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "apnadkarni"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to: "Additional commands to be disabled in safe interps"
    16. type initialized to: "Bug"