Skip to content

Commit 98b0ad2

Browse files
authored
fix: update boinc CPE IDs (#5342)
rom_walton:boinc has been deprecated in favour of universityofcalifornia:boinc_client: https://nvd.nist.gov/products/cpe/detail/DAC161C5-2154-44BF-916A-EACB524E8B8F berkeley:boinc has also been deprecated in favour of universityofcalifornia:boinc_client: https://nvd.nist.gov/products/cpe/detail/5BD4728F-C446-4415-9824-A5DA4702068C Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 2e61a42 commit 98b0ad2

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

cve_bin_tool/checkers/boinc.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"""
66
CVE checker for boinc
77
8-
https://www.cvedetails.com/product/27779/Rom-Walton-Boinc.html?vendor_id=13367
9-
https://www.cvedetails.com/product/63697/Berkeley-Boinc.html?vendor_id=356
8+
https://www.cvedetails.com/product/16720/Berkeley-Boinc-Client.html?vendor_id=356
9+
https://www.cvedetails.com/product/179893/Universityofcalifornia-Boinc-Client.html?vendor_id=37525
1010
1111
"""
1212
from __future__ import annotations
@@ -21,4 +21,7 @@ class BoincChecker(Checker):
2121
r"boinc.so.([0-9]+\.[0-9]+\.[0-9]+)",
2222
r"([0-9]+\.[0-9]+\.[0-9]+)\r?\nboinc",
2323
]
24-
VENDOR_PRODUCT = [("berkeley", "boinc"), ("rom_walton", "boinc")]
24+
VENDOR_PRODUCT = [
25+
("berkeley", "boinc_client"),
26+
("universityofcalifornia", "boinc_client"),
27+
]

test/test_data/boinc.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,34 @@
22
# SPDX-License-Identifier: GPL-3.0-or-later
33

44
mapping_test_data = [
5-
{"product": "boinc", "version": "7.20.2", "version_strings": ["boinc.so.7.20.2"]},
6-
{"product": "boinc", "version": "7.10.2", "version_strings": ["7.10.2\nboinc"]},
5+
{
6+
"product": "boinc_client",
7+
"version": "7.20.2",
8+
"version_strings": ["boinc.so.7.20.2"],
9+
},
10+
{
11+
"product": "boinc_client",
12+
"version": "7.10.2",
13+
"version_strings": ["7.10.2\nboinc"],
14+
},
715
]
816
package_test_data = [
917
{
1018
"url": "http://rpmfind.net/linux/opensuse/ports/aarch64/tumbleweed/repo/oss/aarch64/",
1119
"package_name": "libboinc7-7.20.2-1.3.aarch64.rpm",
12-
"product": "boinc",
20+
"product": "boinc_client",
1321
"version": "7.20.2",
1422
},
1523
{
1624
"url": "http://ftp.debian.org/debian/pool/main/b/boinc/",
1725
"package_name": "boinc-client_7.10.2+dfsg-2~bpo9+1_amd64.deb",
18-
"product": "boinc",
26+
"product": "boinc_client",
1927
"version": "7.10.2",
2028
},
2129
{
2230
"url": "https://downloads.openwrt.org/releases/packages-19.07/x86_64/packages/",
2331
"package_name": "boinc_7.16.16-1_x86_64.ipk",
24-
"product": "boinc",
32+
"product": "boinc_client",
2533
"version": "7.16.16",
2634
},
2735
]

0 commit comments

Comments
 (0)