bugGNU Parallel - Bugs: bug #61894, Pack ssh code in eval protection

 
 

bug #61894: Pack ssh code in eval protection

Submitter:  None
Submitted:  Fri 21 Jan 2022 11:42:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 23 Feb 2022 08:22:11 PM UTC, comment #1: 

Fixed in [6b13c5d92].

Ole Tange <tange>
Group administrator
Fri 21 Jan 2022 11:42:03 PM UTC, original submission:  

This code:

    perl -e map{eval}pack+q/h*/,q/072796e647020686f63747e616d65606/

can be run through any level of shell eval/sshs without any additional quoting:

    ssh lo ssh server perl -e map{eval}pack+q/h*/,q/072796e647020686f63747e616d65606/

Convert all ssh calls to this format, so if `--ssh` is set to `ssh servera ssh` it will still work. So this should be brought to work:

    parallel --ssh 'ssh lo ssh' -S lo 'hostname;echo' ::: 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-02-23 tange StatusNone Fixed
        Assigned toNone tange
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code