mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Ignore CVE-2024-10327 since it's iOS-only (#25083)
For #25075 # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files) for more information. - [x] Added/updated tests - [x] Manual QA for all new/changed functionality
This commit is contained in:
parent
495fddc4e6
commit
9eb115cf7c
3 changed files with 13 additions and 2 deletions
1
changes/25075-false-positive
Normal file
1
changes/25075-false-positive
Normal file
|
|
@ -0,0 +1 @@
|
|||
* Fixed CVE-2024-10327 false positive on Fleet-supported platforms (vuln is iOS-only and iOS vuln checking is not supported)
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue