Skip to content

Commit

Permalink
Specify affected functions versions instead of "*"
Browse files Browse the repository at this point in the history
When including information about affected functions in advisory
metadata, I have used `"*"` in a few advisories when the bounds
were no narrower than the bounds for the vulnerability. But
specific are still needed or preferred in that situation.

This replaces `"*"` in those advisories with more specific bounds.
(For rustsec#2193, this has already been done in rustsec#2195.)

See discussion in:
rustsec#2193 (review)
  • Loading branch information
EliahKagan committed Jan 18, 2025
1 parent d3d1ba6 commit 1e2704c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions crates/gix-path/RUSTSEC-2024-0355.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ license = "CC0-1.0"
os = ["windows"]

[affected.functions]
"gix_path::env::exe_invocation" = ["*"]
"gix_path::env::installation_config" = ["*"]
"gix_path::env::installation_config_prefix" = ["*"]
"gix_path::env::system_prefix" = ["*"]
"gix_path::env::exe_invocation" = [">= 0.10.8, < 0.10.9"]
"gix_path::env::installation_config" = [">= 0.10.8, < 0.10.9"]
"gix_path::env::installation_config_prefix" = [">= 0.10.8, < 0.10.9"]
"gix_path::env::system_prefix" = [">= 0.10.8, < 0.10.9"]

[versions]
patched = [">= 0.10.9"]
Expand Down
4 changes: 2 additions & 2 deletions crates/gix-path/RUSTSEC-2024-0367.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ aliases = ["CVE-2024-45305", "GHSA-v26r-4c9c-h3j6"]
license = "CC0-1.0"

[affected.functions]
"gix_path::env::installation_config" = ["*"]
"gix_path::env::installation_config_prefix" = ["*"]
"gix_path::env::installation_config" = ["< 0.10.10"]
"gix_path::env::installation_config_prefix" = ["< 0.10.10"]

[versions]
patched = [">= 0.10.10"]
Expand Down
4 changes: 2 additions & 2 deletions crates/gix-path/RUSTSEC-2024-0371.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ aliases = ["CVE-2024-45405", "GHSA-m8rp-vv92-46c7"]
license = "CC0-1.0"

[affected.functions]
"gix_path::env::installation_config" = ["*"]
"gix_path::env::installation_config_prefix" = ["*"]
"gix_path::env::installation_config" = ["< 0.10.11"]
"gix_path::env::installation_config_prefix" = ["< 0.10.11"]

[versions]
patched = [">= 0.10.11"]
Expand Down

0 comments on commit 1e2704c

Please sign in to comment.