mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
tools: update undici CPE in vuln checking script
This changes the search method for `undici` on the NVD database. Before, since `undici` did not have a CPE assigned, the search was by keyword. Now that a CPE was assigned, it is used to query for new vulnerabilities. PR-URL: https://github.com/nodejs/node/pull/44128 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
This commit is contained in:
1 parent
960a20928f
commit
b252f389d7
1 file changed
+3
-1
@@ -47,7 +47,9 @@ dependencies: dict[str, Dependency] = {
|
||||
version=vp.get_libuv_version(), cpe=CPE(vendor="libuv_project", product="libuv")
|
||||
),
|
||||
"undici": Dependency(
|
||||
version=vp.get_undici_version(), cpe=None, keyword="undici", npm_name="undici"
|
||||
version=vp.get_undici_version(),
|
||||
cpe=CPE(vendor="nodejs", product="undici"),
|
||||
npm_name="undici",
|
||||
),
|
||||
"OpenSSL": Dependency(
|
||||
version=vp.get_openssl_version(), cpe=CPE(vendor="openssl", product="openssl")
|
||||
|
||||
Reference in new issue
Block a user