Skip to content

Commit 1e2704c

Browse files
committed
Specify affected functions versions instead of "*"
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)
1 parent d3d1ba6 commit 1e2704c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

crates/gix-path/RUSTSEC-2024-0355.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ license = "CC0-1.0"
1515
os = ["windows"]
1616

1717
[affected.functions]
18-
"gix_path::env::exe_invocation" = ["*"]
19-
"gix_path::env::installation_config" = ["*"]
20-
"gix_path::env::installation_config_prefix" = ["*"]
21-
"gix_path::env::system_prefix" = ["*"]
18+
"gix_path::env::exe_invocation" = [">= 0.10.8, < 0.10.9"]
19+
"gix_path::env::installation_config" = [">= 0.10.8, < 0.10.9"]
20+
"gix_path::env::installation_config_prefix" = [">= 0.10.8, < 0.10.9"]
21+
"gix_path::env::system_prefix" = [">= 0.10.8, < 0.10.9"]
2222

2323
[versions]
2424
patched = [">= 0.10.9"]

crates/gix-path/RUSTSEC-2024-0367.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ aliases = ["CVE-2024-45305", "GHSA-v26r-4c9c-h3j6"]
1414
license = "CC0-1.0"
1515

1616
[affected.functions]
17-
"gix_path::env::installation_config" = ["*"]
18-
"gix_path::env::installation_config_prefix" = ["*"]
17+
"gix_path::env::installation_config" = ["< 0.10.10"]
18+
"gix_path::env::installation_config_prefix" = ["< 0.10.10"]
1919

2020
[versions]
2121
patched = [">= 0.10.10"]

crates/gix-path/RUSTSEC-2024-0371.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ aliases = ["CVE-2024-45405", "GHSA-m8rp-vv92-46c7"]
1212
license = "CC0-1.0"
1313

1414
[affected.functions]
15-
"gix_path::env::installation_config" = ["*"]
16-
"gix_path::env::installation_config_prefix" = ["*"]
15+
"gix_path::env::installation_config" = ["< 0.10.11"]
16+
"gix_path::env::installation_config_prefix" = ["< 0.10.11"]
1717

1818
[versions]
1919
patched = [">= 0.10.11"]

0 commit comments

Comments
 (0)