bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash not escaping escape sequences in directory names


From: Andreas Kusalananda Kähäri
Subject: Re: Bash not escaping escape sequences in directory names
Date: Sat, 22 Jan 2022 11:52:45 +0100

On Fri, Jan 21, 2022 at 06:33:02PM -0500, Chet Ramey wrote:
> On 1/21/22 6:13 PM, Mike Jonkmans wrote:
> > On Fri, Jan 21, 2022 at 03:29:47PM -0500, Chet Ramey wrote:
> > > On 1/21/22 1:43 AM, Lawrence Velázquez wrote:
> > > 
> > > > Personally, I would be
> > > > less than pleased if my whole terminal turned red just because I
> > > > changed into a directory that happened to have a weird name.
> > > 
> > > A mild annoyance at best, don't you think?
> > 
> > Mostly an annoyance, but it has potential to be a security issue.
> 
> Highly unlikely. It would require an implausible scenario.

Mind if I use that quote? :-)

Example of interesting values to test in PS1, with discussions:

        https://security.stackexchange.com/q/56307


-- 
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden

.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]