bug-bash
[Top][All Lists]
Advanced

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

Re: I've found a vulnerability in bash


From: Greg Wooledge
Subject: Re: I've found a vulnerability in bash
Date: Wed, 17 Nov 2021 07:41:52 -0500

On Wed, Nov 17, 2021 at 04:16:36AM -0500, Marshall Whittaker wrote:
> --- SNIP ---
> [marshall@jerkon]{04:09 AM}: [~/bashful] $ touch -- '--version'

> [marshall@jerkon]{04:09 AM}: [~/bashful] $ mv * b

This isn't a vulnerability in bash.  It's a bug in your script.

Use this instead: mv -- * b



reply via email to

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