Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions crates/shell-words/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "shell-words"

date = "2024-12-13"
url = "https://github.com/tmiasko/shell-words/pull/16"
categories = ["format-injection", "file-disclosure"]
keywords = ["shell"]

[affected]
[affected.functions]
"shell_words::quote" = ["<= 1.1.0"]

[versions]
patched = [">= 1.1.1"]
```

# `~` not escaped (shell_words::quote)

Affected versions of this crate incorrectly looked for `˜` (U+02DC SMALL TILDE) instead of the intended `~` (U+007E TILDE)

This could lead to exposing the users home path, or in certain cases path traversal.

This was corrected in commit efe8162, included in version `1.1.1`.