-
Notifications
You must be signed in to change notification settings - Fork 443
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
10cb6fd
commit d681c9c
Showing
6 changed files
with
51 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 |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
"libjpeg", | ||
"libnss", | ||
"libsndfile", | ||
"libsoup", | ||
"libtiff", | ||
"libvirt", | ||
"libxslt", | ||
|
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) 2021 Intel Corporation | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
""" | ||
CVE checker for libsoup | ||
https://www.cvedetails.com/product/21096/Gnome-Libsoup.html?vendor_id=283 | ||
""" | ||
from cve_bin_tool.checkers import Checker | ||
|
||
|
||
class LibsoupChecker(Checker): | ||
CONTAINS_PATTERNS = [] | ||
FILENAME_PATTERNS = [r"libsoup"] | ||
VERSION_PATTERNS = [r"libsoup/([0-9]+\.[0-9]+\.[0-9]+)"] | ||
VENDOR_PRODUCT = [ | ||
("gnome", "libsoup"), | ||
("joe_shaw", "libsoup"), | ||
("libsoup", "libsoup"), | ||
] |
Binary file not shown.
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 |
---|---|---|
|
@@ -33,6 +33,7 @@ | |
"libgcrypt", | ||
"libjpeg-turbo", | ||
"libsndfile", | ||
"libsoup", | ||
"libvirt", | ||
"libxslt", | ||
"mariadb", | ||
|
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,29 @@ | ||
# Copyright (C) 2021 Intel Corporation | ||
# SPDX-License-Identifier: GPL-3.0-or-later | ||
|
||
mapping_test_data = [ | ||
{ | ||
"product": "libsoup", | ||
"version": "2.70.0", | ||
"version_strings": ["libsoup/2.70.0"], | ||
}, | ||
{ | ||
"product": "libsoup", | ||
"version": "2.62.3", | ||
"version_strings": ["libsoup/2.62.3"], | ||
}, | ||
] | ||
package_test_data = [ | ||
{ | ||
"url": "https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/32/Everything/aarch64/os/Packages/l/", | ||
"package_name": "libsoup-2.70.0-1.fc32.aarch64.rpm", | ||
"product": "libsoup", | ||
"version": "2.70.0", | ||
}, | ||
{ | ||
"url": "http://mirror.centos.org/centos/8/BaseOS/aarch64/os/Packages/", | ||
"package_name": "libsoup-2.62.3-2.el8.aarch64.rpm", | ||
"product": "libsoup", | ||
"version": "2.62.3", | ||
}, | ||
] |