Overview
| Artifact ID: | 275a260a108c156bd31e7b10cea18c5682640031d6fc31f95a6bd4af1756f507 |
|---|---|
| Ticket: | ba3a158b5210723a51c468e086804d1189f70752
Additional commands to be disabled in safe interps |
| User & Date: | apnadkarni on 2024-08-04 03:29:58 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed 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? - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Additional commands to be disabled in safe interps"
- type changed to: "Bug"