Critical Rust flaw enables Windows command injection attacks
wkk @ wkk @lemmy.world Posts 0Comments 73Joined 2 yr. ago
wkk @ wkk @lemmy.world
Posts
0
Comments
73
Joined
2 yr. ago
Removed Deleted
Permanently Deleted
It's definitely not Rust's fault, but it's kinda Windows' one and cmd.exe escape logic... It's really difficult to write logic that will correctly escape any argument given to it, cmd.exe really is a pain to deal with :/
I get that in situations where they can't safely escape a parameter they'll just stop with an error, which sound as sane as one could go with this!