-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ecff54
commit a35331c
Showing
4 changed files
with
41 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -272,6 +272,7 @@ | |
"open_iscsi", | ||
"open_vm_tools", | ||
"openafs", | ||
"openblas", | ||
"opencv", | ||
"openjpeg", | ||
"openldap", | ||
|
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,20 @@ | ||
# Copyright (C) 2025 Keysight Technologies | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
|
||
""" | ||
CVE checker for OpenBLAS | ||
https://www.cvedetails.com/version-list/26026/106485/1/Openblas-Project-Openblas.html | ||
""" | ||
from __future__ import annotations | ||
|
||
from cve_bin_tool.checkers import Checker | ||
|
||
|
||
class OpenblasChecker(Checker): | ||
CONTAINS_PATTERNS: list[str] = [] | ||
FILENAME_PATTERNS: list[str] = [] | ||
VERSION_PATTERNS = [r"OpenBLAS ([0-9]+\.[0-9]+\.[0-9]+)"] | ||
VENDOR_PRODUCT = [("openblas-project", "openblas")] |
Binary file added
BIN
+1.28 MB
test/condensed-downloads/libopenblas0-pthread_0.3.26+ds-1_amd64.deb.tar.gz
Binary file not shown.
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,20 @@ | ||
# Copyright (C) 2025 Keysight Technologies | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
mapping_test_data = [ | ||
{ | ||
"product": "openblas", | ||
"version": "0.3.26", | ||
"version_strings": [ | ||
"OpenBLAS 0.3.26 NO_LAPACKE DYNAMIC_ARCH NO_AFFIN SINGLE_THREADED" | ||
], | ||
} | ||
] | ||
package_test_data = [ | ||
{ | ||
"url": "http://de.archive.ubuntu.com/ubuntu/pool/universe/o/openblas/", | ||
"package_name": "libopenblas0-pthread_0.3.26+ds-1_amd64.deb", | ||
"product": "openblas", | ||
"version": "0.3.26", | ||
}, | ||
] |