-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(sbom): add missed
primaryURL
and source severity
for CycloneDX (
#5399) Signed-off-by: knqyf263 <[email protected]> Co-authored-by: knqyf263 <[email protected]>
- Loading branch information
1 parent
e5317c7
commit 6040d9f
Showing
5 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -522,6 +522,11 @@ func TestMarshaler_Marshal(t *testing.T) { | |
Description: "In GNU Binutils 2.31.1, there is a use-after-free in the error function in elfcomm.c when called from the process_archive function in readelf.c via a crafted ELF file.", | ||
Published: "2018-12-31T19:29:00+00:00", | ||
Updated: "2019-10-31T01:15:00+00:00", | ||
Advisories: &[]cdx.Advisory{ | ||
{ | ||
URL: "https://avd.aquasec.com/nvd/cve-2018-20623", | ||
}, | ||
}, | ||
Affects: &[]cdx.Affects{ | ||
{ | ||
Ref: "pkg:rpm/centos/[email protected]?arch=aarch64&distro=centos-8.3.2011", | ||
|
@@ -991,6 +996,9 @@ func TestMarshaler_Marshal(t *testing.T) { | |
}, | ||
Description: "Action Pack is a framework for handling and responding to web requests. Under certain circumstances response bodies will not be closed. In the event a response is *not* notified of a `close`, `ActionDispatch::Executor` will not know to reset thread local state for the next request. This can lead to data being leaked to subsequent requests.This has been fixed in Rails 7.0.2.1, 6.1.4.5, 6.0.4.5, and 5.2.6.1. Upgrading is highly recommended, but to work around this problem a middleware described in GHSA-wh98-p28r-vrc9 can be used.", | ||
Advisories: &[]cdx.Advisory{ | ||
{ | ||
URL: "https://avd.aquasec.com/nvd/cve-2022-23633", | ||
}, | ||
{ | ||
URL: "http://www.openwall.com/lists/oss-security/2022/02/11/5", | ||
}, | ||
|
@@ -1384,6 +1392,9 @@ func TestMarshaler_Marshal(t *testing.T) { | |
CWEs: lo.ToPtr([]int{94}), | ||
Description: "The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0...", | ||
Advisories: &[]cdx.Advisory{ | ||
{ | ||
URL: "https://avd.aquasec.com/nvd/cve-2023-34468", | ||
}, | ||
{ | ||
URL: "http://www.openwall.com/lists/oss-security/2023/06/12/3", | ||
}, | ||
|
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