Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry-Pick: Ignore CVE-2024-10327 since it's iOS-only #25101

Closed
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions changes/25075-false-positive
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Fixed CVE-2024-10327 false positive on Fleet-supported platforms (vuln is iOS-only and iOS vuln checking is not supported)
10 changes: 8 additions & 2 deletions server/vulnerabilities/nvd/cpe_matching_rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,14 @@ func GetKnownNVDBugRules() (CPEMatchingRules, error) {
return cpeMeta.TargetSW != "windows"
},
},
// CVE-2024-10004 only targets iOS, and we don't yet support iOS vuln scanning (and can't tell iOS/Mac CPEs apart yet)
CPEMatchingRule{CVEs: map[string]struct{}{"CVE-2024-10004": {}}, IgnoreAll: true},
// these CVEs only target iOS, and we don't yet support iOS vuln scanning (and can't tell iOS/Mac CPEs apart yet)
CPEMatchingRule{
CVEs: map[string]struct{}{
"CVE-2024-10004": {},
"CVE-2024-10327": {}, // also missing a CPE as of 2025-01-01
},
IgnoreAll: true,
},
}

for i, rule := range rules {
Expand Down
4 changes: 4 additions & 0 deletions server/vulnerabilities/nvd/cve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ func TestTranslateCPEToCVE(t *testing.T) {
excludedCVEs: []string{"CVE-2024-10004"},
continuesToUpdate: true,
},
"cpe:2.3:a:okta:verify:9.27.0:*:*:*:*:macos:*:*": {
excludedCVEs: []string{"CVE-2024-10327"},
continuesToUpdate: true,
},
}

cveOSTests := []struct {
Expand Down
Loading