-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map vulnerabilities coming from Vunnel mariner provider that are tagged with mariner 3.0 to be Azure Linux 3. Signed-off-by: Will Murphy <[email protected]>
- Loading branch information
1 parent
62669e9
commit e69d500
Showing
4 changed files
with
137 additions
and
1 deletion.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
pkg/process/v5/transformers/os/test-fixtures/azure-linux-3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"Vulnerability": { | ||
"Name": "CVE-2023-29403", | ||
"NamespaceName": "mariner:3.0", | ||
"Description": "CVE-2023-29403 affecting package golang for versions less than 1.20.7-1. A patched version of the package is available.", | ||
"Severity": "High", | ||
"Link": "https://nvd.nist.gov/vuln/detail/CVE-2023-29403", | ||
"CVSS": [], | ||
"FixedIn": [ | ||
{ | ||
"Name": "golang", | ||
"NamespaceName": "mariner:3.0", | ||
"VersionFormat": "rpm", | ||
"Version": "0:1.20.7-1.azl3", | ||
"Module": "", | ||
"VendorAdvisory": { | ||
"NoAdvisory": false, | ||
"AdvisorySummary": [] | ||
} | ||
} | ||
], | ||
"Metadata": {} | ||
} | ||
} | ||
] |
26 changes: 26 additions & 0 deletions
26
pkg/process/v5/transformers/os/test-fixtures/mariner-20.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"Vulnerability": { | ||
"Name": "CVE-2021-37621", | ||
"NamespaceName": "mariner:2.0", | ||
"Description": "CVE-2021-37621 affecting package exiv2 for versions less than 0.27.5-1. An upgraded version of the package is available that resolves this issue.", | ||
"Severity": "Medium", | ||
"Link": "https://nvd.nist.gov/vuln/detail/CVE-2021-37621", | ||
"CVSS": [], | ||
"FixedIn": [ | ||
{ | ||
"Name": "exiv2", | ||
"NamespaceName": "mariner:2.0", | ||
"VersionFormat": "rpm", | ||
"Version": "0:0.27.5-1.cm2", | ||
"Module": "", | ||
"VendorAdvisory": { | ||
"NoAdvisory": false, | ||
"AdvisorySummary": [] | ||
} | ||
} | ||
], | ||
"Metadata": {} | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters