diff --git a/.circleci/config.yml b/.circleci/config.yml index 0705755b1..f255dc4c1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -414,12 +414,6 @@ workflows: name: test_container_dev requires: - build - - functional_tests: - name: functional_tests_38_legacy - tox_env: "py38" - vulnerabilities_provider: "legacy" - requires: - - build - functional_tests: name: functional_tests_38_grype vulnerabilities_provider: "grype" @@ -433,7 +427,6 @@ workflows: filters: *filter_release_branch requires: - functional_tests_38_grype - - functional_tests_38_legacy - integration_tests_38 - test_container_dev - grype_vuln_scan: @@ -475,13 +468,6 @@ workflows: filters: *filter_nightly requires: - build - - functional_tests: - name: functional_tests_38_legacy - vulnerabilities_provider: "legacy" - tox_env: "py38" - filters: *filter_nightly - requires: - - build - functional_tests: name: functional_tests_38_grype vulnerabilities_provider: "grype" @@ -502,7 +488,6 @@ workflows: context: dockerhub filters: *filter_nightly requires: - - functional_tests_38_legacy - functional_tests_38_grype - integration_tests_38 - cli_smoke_tests_38 diff --git a/Dockerfile b/Dockerfile index 0b095081c..900bf26d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,8 @@ ENV LANG=en_US.UTF-8 ENV LC_ALL=C.UTF-8 # environment variables for dependent binary versions -ENV SYFT_VERSION=v0.33.0 -ENV GRYPE_VERSION=v0.27.3 +ENV SYFT_VERSION=v0.57.0 +ENV GRYPE_VERSION=v0.50.2 ENV PIP_VERSION=21.0.1 # setup build artifact directory diff --git a/dev-tools/requirements-dev.txt b/dev-tools/requirements-dev.txt index c5253e32e..f722635c7 100644 --- a/dev-tools/requirements-dev.txt +++ b/dev-tools/requirements-dev.txt @@ -1,3 +1,3 @@ black isort -pylint \ No newline at end of file +pylint==v2.10.2 diff --git a/scripts/ci/lint b/scripts/ci/lint index 804ea9ea5..756726c25 100755 --- a/scripts/ci/lint +++ b/scripts/ci/lint @@ -5,7 +5,7 @@ set -euvo pipefail # Optional - only used for print_colorized source anchore-ci/utils -hash pylint || python -m pip install -q pylint +hash pylint || python -m pip install -q pylint==v2.10.2 print_colorized INFO "Linting Anchore Engine code."; echo diff --git a/tests/functional/clients/standalone/package_list/fixtures/centos.py b/tests/functional/clients/standalone/package_list/fixtures/centos.py index 9c20674b9..e3000d53c 100644 --- a/tests/functional/clients/standalone/package_list/fixtures/centos.py +++ b/tests/functional/clients/standalone/package_list/fixtures/centos.py @@ -89,18 +89,18 @@ "bind-export-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:bind_export_libs:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind-export-libs:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind_export_libs:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind-export-libs:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind-export:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind_export:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind-export:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind_export:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind:bind-export-libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:bind:bind_export_libs:32:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind_export_libs:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind-export-libs:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind_export_libs:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind-export-libs:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind-export:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind_export:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind-export:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind_export:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind:bind-export-libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:bind:bind_export_libs:32\\:9.11.13-5.el8_2:*:*:*:*:*:*:*", ], "license": "MPLv2.0", "origin": "CentOS", @@ -413,8 +413,8 @@ "dbus": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:centos:dbus:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", ], "license": "(GPLv2+ or AFL) and GPLv2+", "origin": "CentOS", @@ -427,14 +427,14 @@ "dbus-common": { "arch": "noarch", "cpes": [ - "cpe:2.3:a:dbus_common:dbus-common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus-common:dbus_common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus-common:dbus-common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_common:dbus_common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus_common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus-common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus-common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus_common:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_common:dbus-common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-common:dbus_common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-common:dbus-common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_common:dbus_common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus_common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus-common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus-common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus_common:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", ], "license": "(GPLv2+ or AFL) and GPLv2+", "origin": "CentOS", @@ -447,14 +447,14 @@ "dbus-daemon": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:dbus-daemon:dbus-daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_daemon:dbus-daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus-daemon:dbus_daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_daemon:dbus_daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus-daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus_daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus-daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus_daemon:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-daemon:dbus-daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_daemon:dbus-daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-daemon:dbus_daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_daemon:dbus_daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus-daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus_daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus-daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus_daemon:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", ], "license": "(GPLv2+ or AFL) and GPLv2+", "origin": "CentOS", @@ -467,14 +467,14 @@ "dbus-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:dbus-libs:dbus_libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_libs:dbus_libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus-libs:dbus-libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_libs:dbus-libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus_libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus-libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus_libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus-libs:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-libs:dbus_libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_libs:dbus_libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-libs:dbus-libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_libs:dbus-libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus_libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus-libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus_libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus-libs:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", ], "license": "(GPLv2+ or AFL) and GPLv2+", "origin": "CentOS", @@ -487,14 +487,14 @@ "dbus-tools": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:dbus-tools:dbus_tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_tools:dbus_tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus-tools:dbus-tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus_tools:dbus-tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus_tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dbus-tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus_tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", - "cpe:2.3:a:dbus:dbus-tools:1:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-tools:dbus_tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_tools:dbus_tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus-tools:dbus-tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus_tools:dbus-tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus_tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dbus-tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus_tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", + "cpe:2.3:a:dbus:dbus-tools:1\\:1.12.8-10.el8_2:*:*:*:*:*:*:*", ], "license": "(GPLv2+ or AFL) and GPLv2+", "origin": "CentOS", @@ -507,14 +507,14 @@ "device-mapper": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:device_mapper:device-mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device-mapper:device-mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device_mapper:device_mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device-mapper:device_mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:device-mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device:device-mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:device_mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device:device_mapper:8:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper:device-mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper:device-mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper:device_mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper:device_mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:device-mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device:device-mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:device_mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device:device_mapper:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", ], "license": "GPLv2", "origin": "CentOS", @@ -527,18 +527,18 @@ "device-mapper-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:device-mapper-libs:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device_mapper_libs:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device-mapper-libs:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device_mapper_libs:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device-mapper:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device_mapper:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device-mapper:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device_mapper:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device:device-mapper-libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:device:device_mapper_libs:8:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper-libs:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper_libs:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper-libs:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper_libs:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device-mapper:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device_mapper:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device:device-mapper-libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:device:device_mapper_libs:8\\:1.02.169-3.el8:*:*:*:*:*:*:*", ], "license": "LGPLv2", "origin": "CentOS", @@ -551,14 +551,14 @@ "dhcp-client": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:dhcp-client:dhcp_client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp_client:dhcp-client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp-client:dhcp-client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp_client:dhcp_client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp-client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp_client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp_client:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp-client:12:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-client:dhcp_client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_client:dhcp-client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-client:dhcp-client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_client:dhcp_client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp-client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp_client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp_client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp-client:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", ], "license": "ISC", "origin": "CentOS", @@ -571,14 +571,14 @@ "dhcp-common": { "arch": "noarch", "cpes": [ - "cpe:2.3:a:dhcp-common:dhcp_common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp_common:dhcp_common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp-common:dhcp-common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp_common:dhcp-common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp_common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp-common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp_common:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp-common:12:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-common:dhcp_common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_common:dhcp_common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-common:dhcp-common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_common:dhcp-common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp_common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp-common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp_common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp-common:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", ], "license": "ISC", "origin": "CentOS", @@ -591,14 +591,14 @@ "dhcp-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:dhcp_libs:dhcp_libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp-libs:dhcp-libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp_libs:dhcp-libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp-libs:dhcp_libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp-libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:dhcp_libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp_libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:dhcp:dhcp-libs:12:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_libs:dhcp_libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-libs:dhcp-libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp_libs:dhcp-libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp-libs:dhcp_libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp-libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:dhcp_libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp_libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:dhcp:dhcp-libs:12\\:4.3.6-40.el8:*:*:*:*:*:*:*", ], "license": "ISC", "origin": "CentOS", @@ -767,8 +767,8 @@ "ethtool": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:ethtool:ethtool:2:5.0-2.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:ethtool:2:5.0-2.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:ethtool:ethtool:2\\:5.0-2.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:ethtool:2\\:5.0-2.el8:*:*:*:*:*:*:*", ], "license": "GPLv2", "origin": "CentOS", @@ -829,8 +829,8 @@ "findutils": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:findutils:findutils:1:4.6.0-20.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:findutils:1:4.6.0-20.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:findutils:findutils:1\\:4.6.0-20.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:findutils:1\\:4.6.0-20.el8:*:*:*:*:*:*:*", ], "license": "GPLv3+", "origin": "CentOS", @@ -857,8 +857,8 @@ "gdbm": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:centos:gdbm:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm:gdbm:1:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:gdbm:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm:gdbm:1\\:1.18-1.el8:*:*:*:*:*:*:*", ], "license": "GPLv3+", "origin": "CentOS", @@ -871,14 +871,14 @@ "gdbm-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:gdbm-libs:gdbm-libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm_libs:gdbm-libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm-libs:gdbm_libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm_libs:gdbm_libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:gdbm-libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:gdbm_libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm:gdbm-libs:1:1.18-1.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gdbm:gdbm_libs:1:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm-libs:gdbm-libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm_libs:gdbm-libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm-libs:gdbm_libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm_libs:gdbm_libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:gdbm-libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:gdbm_libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm:gdbm-libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gdbm:gdbm_libs:1\\:1.18-1.el8:*:*:*:*:*:*:*", ], "license": "GPLv3+", "origin": "CentOS", @@ -963,8 +963,8 @@ "gmp": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:centos:gmp:1:6.1.2-10.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:gmp:gmp:1:6.1.2-10.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:gmp:1\\:6.1.2-10.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:gmp:gmp:1\\:6.1.2-10.el8:*:*:*:*:*:*:*", ], "license": "LGPLv3+ or GPLv2+", "origin": "CentOS", @@ -1755,8 +1755,8 @@ "libpcap": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:libpcap:libpcap:14:1.9.0-3.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:libpcap:14:1.9.0-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:libpcap:libpcap:14\\:1.9.0-3.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:libpcap:14\\:1.9.0-3.el8:*:*:*:*:*:*:*", ], "license": "BSD with advertising", "origin": "CentOS", @@ -1915,8 +1915,8 @@ "libstdc++": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:libstdc++:libstdc++:8.3.1-5.el8.0.2:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:libstdc++:8.3.1-5.el8.0.2:*:*:*:*:*:*:*", + "cpe:2.3:a:libstdc\\+\\+:libstdc\\+\\+:8.3.1-5.el8.0.2:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:libstdc\\+\\+:8.3.1-5.el8.0.2:*:*:*:*:*:*:*", ], "license": "GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD", "origin": "CentOS", @@ -2233,14 +2233,14 @@ "openssl-libs": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:openssl-libs:openssl-libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:openssl_libs:openssl-libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:openssl-libs:openssl_libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:openssl_libs:openssl_libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:openssl:openssl-libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:openssl:openssl_libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:openssl-libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:openssl_libs:1:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl-libs:openssl-libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl_libs:openssl-libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl-libs:openssl_libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl_libs:openssl_libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl:openssl-libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:openssl:openssl_libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:openssl-libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:openssl_libs:1\\:1.1.1c-15.el8:*:*:*:*:*:*:*", ], "license": "OpenSSL", "origin": "CentOS", @@ -2719,14 +2719,14 @@ "shadow-utils": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:shadow-utils:shadow-utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:shadow_utils:shadow-utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:shadow-utils:shadow_utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:shadow_utils:shadow_utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:shadow-utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:shadow:shadow-utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:shadow_utils:2:4.6-8.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:shadow:shadow_utils:2:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow-utils:shadow-utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow_utils:shadow-utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow-utils:shadow_utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow_utils:shadow_utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:shadow-utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow:shadow-utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:shadow_utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:shadow:shadow_utils:2\\:4.6-8.el8:*:*:*:*:*:*:*", ], "license": "BSD and GPLv2+", "origin": "CentOS", @@ -2867,8 +2867,8 @@ "tar": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:centos:tar:2:1.30-4.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:tar:tar:2:1.30-4.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:tar:2\\:1.30-4.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:tar:tar:2\\:1.30-4.el8:*:*:*:*:*:*:*", ], "license": "GPLv3+", "origin": "CentOS", @@ -2915,14 +2915,14 @@ "vim-minimal": { "arch": "x86_64", "cpes": [ - "cpe:2.3:a:vim-minimal:vim-minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:vim_minimal:vim-minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:vim-minimal:vim_minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:vim_minimal:vim_minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:vim-minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:centos:vim_minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:vim:vim-minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", - "cpe:2.3:a:vim:vim_minimal:2:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim-minimal:vim-minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim_minimal:vim-minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim-minimal:vim_minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim_minimal:vim_minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:vim-minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:centos:vim_minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim:vim-minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", + "cpe:2.3:a:vim:vim_minimal:2\\:8.0.1763-13.el8:*:*:*:*:*:*:*", ], "license": "Vim and MIT", "origin": "CentOS", diff --git a/tests/functional/clients/standalone/package_list/fixtures/debian.py b/tests/functional/clients/standalone/package_list/fixtures/debian.py index 7bd74c78a..806be0412 100644 --- a/tests/functional/clients/standalone/package_list/fixtures/debian.py +++ b/tests/functional/clients/standalone/package_list/fixtures/debian.py @@ -46,12 +46,12 @@ "base-files": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:base-files:base-files:9.9+deb9u13:*:*:*:*:*:*:*", - "cpe:2.3:a:base_files:base-files:9.9+deb9u13:*:*:*:*:*:*:*", - "cpe:2.3:a:base-files:base_files:9.9+deb9u13:*:*:*:*:*:*:*", - "cpe:2.3:a:base_files:base_files:9.9+deb9u13:*:*:*:*:*:*:*", - "cpe:2.3:a:base:base-files:9.9+deb9u13:*:*:*:*:*:*:*", - "cpe:2.3:a:base:base_files:9.9+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base-files:base-files:9.9\\+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base_files:base-files:9.9\\+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base-files:base_files:9.9\\+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base_files:base_files:9.9\\+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base:base-files:9.9\\+deb9u13:*:*:*:*:*:*:*", + "cpe:2.3:a:base:base_files:9.9\\+deb9u13:*:*:*:*:*:*:*", ], "license": "GPL", "origin": "Santiago Vila (maintainer)", @@ -92,7 +92,7 @@ }, "bsdutils": { "arch": "amd64", - "cpes": ["cpe:2.3:a:bsdutils:bsdutils:1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:bsdutils:bsdutils:1\\:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -155,16 +155,16 @@ "debian-archive-keyring": { "arch": "all", "cpes": [ - "cpe:2.3:a:debian-archive-keyring:debian_archive_keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian-archive-keyring:debian-archive-keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian_archive_keyring:debian_archive_keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian_archive_keyring:debian-archive-keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian-archive:debian_archive_keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian-archive:debian-archive-keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian_archive:debian_archive_keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian_archive:debian-archive-keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian:debian_archive_keyring:2017.5+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:debian:debian-archive-keyring:2017.5+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian-archive-keyring:debian_archive_keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian-archive-keyring:debian-archive-keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian_archive_keyring:debian_archive_keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian_archive_keyring:debian-archive-keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian-archive:debian_archive_keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian-archive:debian-archive-keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian_archive:debian_archive_keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian_archive:debian-archive-keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian:debian_archive_keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:debian:debian-archive-keyring:2017.5\\+deb9u1:*:*:*:*:*:*:*", ], "license": "GPL", "origin": "Debian Release Team (maintainer)", @@ -187,7 +187,7 @@ }, "diffutils": { "arch": "amd64", - "cpes": ["cpe:2.3:a:diffutils:diffutils:1:3.5-3:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:diffutils:diffutils:1\\:3.5-3:*:*:*:*:*:*:*"], "license": "GFDL GPL", "origin": "Santiago Vila (maintainer)", "release": "N/A", @@ -209,7 +209,7 @@ }, "e2fslibs": { "arch": "amd64", - "cpes": ["cpe:2.3:a:e2fslibs:e2fslibs:1.43.4-2+deb9u2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:e2fslibs:e2fslibs:1.43.4-2\\+deb9u2:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL-2", "origin": "Theodore Y. Ts'o (maintainer)", "release": "N/A", @@ -220,7 +220,7 @@ }, "e2fsprogs": { "arch": "amd64", - "cpes": ["cpe:2.3:a:e2fsprogs:e2fsprogs:1.43.4-2+deb9u2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:e2fsprogs:e2fsprogs:1.43.4-2\\+deb9u2:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL-2", "origin": "Theodore Y. Ts'o (maintainer)", "release": "N/A", @@ -231,7 +231,9 @@ }, "findutils": { "arch": "amd64", - "cpes": ["cpe:2.3:a:findutils:findutils:4.6.0+git+20161106-2:*:*:*:*:*:*:*"], + "cpes": [ + "cpe:2.3:a:findutils:findutils:4.6.0\\+git\\+20161106-2:*:*:*:*:*:*:*" + ], "license": "GFDL-1.3 GPL-3", "origin": "Andreas Metzler (maintainer)", "release": "N/A", @@ -243,16 +245,16 @@ "gcc-6-base": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:gcc-6-base:gcc_6_base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc-6-base:gcc-6-base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc_6_base:gcc_6_base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc_6_base:gcc-6-base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc-6:gcc_6_base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc-6:gcc-6-base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc_6:gcc_6_base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc_6:gcc-6-base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc:gcc_6_base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:gcc:gcc-6-base:6.3.0-18+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc-6-base:gcc_6_base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc-6-base:gcc-6-base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc_6_base:gcc_6_base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc_6_base:gcc-6-base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc-6:gcc_6_base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc-6:gcc-6-base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc_6:gcc_6_base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc_6:gcc-6-base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc:gcc_6_base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:gcc:gcc-6-base:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*", ], "license": "Artistic GFDL-1.2 GPL GPL-2 GPL-3", "origin": "Debian GCC Maintainers (maintainer)", @@ -264,7 +266,7 @@ }, "gpgv": { "arch": "amd64", - "cpes": ["cpe:2.3:a:gpgv:gpgv:2.1.18-8~deb9u4:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:gpgv:gpgv:2.1.18-8\\~deb9u4:*:*:*:*:*:*:*"], "license": "BSD-3-clause Expat GPL-3 GPL-3+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ RFC-Reference TinySCHEME permissive", "origin": "Debian GnuPG Maintainers (maintainer)", "release": "N/A", @@ -286,7 +288,7 @@ }, "gzip": { "arch": "amd64", - "cpes": ["cpe:2.3:a:gzip:gzip:1.6-5+b1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:gzip:gzip:1.6-5\\+b1:*:*:*:*:*:*:*"], "license": "GPL", "origin": "Bdale Garbee (maintainer)", "release": "N/A", @@ -297,7 +299,7 @@ }, "hostname": { "arch": "amd64", - "cpes": ["cpe:2.3:a:hostname:hostname:3.18+b1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:hostname:hostname:3.18\\+b1:*:*:*:*:*:*:*"], "license": "GPL-2", "origin": "Debian Hostname Team (maintainer)", "release": "N/A", @@ -330,7 +332,7 @@ }, "libacl1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libacl1:libacl1:2.2.52-3+b1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libacl1:libacl1:2.2.52-3\\+b1:*:*:*:*:*:*:*"], "license": "GPL LGPL-2.1", "origin": "Anibal Monsalve Salazar (maintainer)", "release": "N/A", @@ -359,7 +361,7 @@ }, "libattr1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libattr1:libattr1:1:2.4.47-2+b2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libattr1:libattr1:1\\:2.4.47-2\\+b2:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL-2.1", "origin": "Anibal Monsalve Salazar (maintainer)", "release": "N/A", @@ -371,12 +373,12 @@ "libaudit-common": { "arch": "all", "cpes": [ - "cpe:2.3:a:libaudit-common:libaudit-common:1:2.6.7-2:*:*:*:*:*:*:*", - "cpe:2.3:a:libaudit_common:libaudit-common:1:2.6.7-2:*:*:*:*:*:*:*", - "cpe:2.3:a:libaudit-common:libaudit_common:1:2.6.7-2:*:*:*:*:*:*:*", - "cpe:2.3:a:libaudit_common:libaudit_common:1:2.6.7-2:*:*:*:*:*:*:*", - "cpe:2.3:a:libaudit:libaudit-common:1:2.6.7-2:*:*:*:*:*:*:*", - "cpe:2.3:a:libaudit:libaudit_common:1:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit-common:libaudit-common:1\\:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit_common:libaudit-common:1\\:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit-common:libaudit_common:1\\:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit_common:libaudit_common:1\\:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit:libaudit-common:1\\:2.6.7-2:*:*:*:*:*:*:*", + "cpe:2.3:a:libaudit:libaudit_common:1\\:2.6.7-2:*:*:*:*:*:*:*", ], "license": "GPL-1 GPL-2 LGPL-2.1", "origin": "Laurent Bigonville (maintainer)", @@ -388,7 +390,7 @@ }, "libaudit1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libaudit1:libaudit1:1:2.6.7-2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libaudit1:libaudit1:1\\:2.6.7-2:*:*:*:*:*:*:*"], "license": "GPL-1 GPL-2 LGPL-2.1", "origin": "Laurent Bigonville (maintainer)", "release": "N/A", @@ -399,7 +401,7 @@ }, "libblkid1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libblkid1:libblkid1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libblkid1:libblkid1:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -429,12 +431,12 @@ "libc-bin": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:libc-bin:libc-bin:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:libc_bin:libc-bin:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:libc-bin:libc_bin:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:libc_bin:libc_bin:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:libc:libc-bin:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:libc:libc_bin:2.24-11+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc-bin:libc-bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc_bin:libc-bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc-bin:libc_bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc_bin:libc_bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc:libc-bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:libc:libc_bin:2.24-11\\+deb9u4:*:*:*:*:*:*:*", ], "license": "GPL-2 LGPL-2.1", "origin": "GNU Libc Maintainers (maintainer)", @@ -446,7 +448,7 @@ }, "libc6": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libc6:libc6:2.24-11+deb9u4:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libc6:libc6:2.24-11\\+deb9u4:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL-2.1", "origin": "GNU Libc Maintainers (maintainer)", "release": "N/A", @@ -458,12 +460,12 @@ "libcap-ng0": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:libcap-ng0:libcap-ng0:0.7.7-3+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:libcap_ng0:libcap-ng0:0.7.7-3+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:libcap-ng0:libcap_ng0:0.7.7-3+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:libcap_ng0:libcap_ng0:0.7.7-3+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:libcap:libcap-ng0:0.7.7-3+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:libcap:libcap_ng0:0.7.7-3+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap-ng0:libcap-ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap_ng0:libcap-ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap-ng0:libcap_ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap_ng0:libcap_ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap:libcap-ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:libcap:libcap_ng0:0.7.7-3\\+b1:*:*:*:*:*:*:*", ], "license": "GPL-2 GPL-3 LGPL-2.1", "origin": "Pierre Chifflier (maintainer)", @@ -475,7 +477,7 @@ }, "libcomerr2": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libcomerr2:libcomerr2:1.43.4-2+deb9u2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libcomerr2:libcomerr2:1.43.4-2\\+deb9u2:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "Theodore Y. Ts'o (maintainer)", "release": "N/A", @@ -486,7 +488,7 @@ }, "libdb5.3": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libdb5.3:libdb5.3:5.3.28-12+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libdb5.3:libdb5.3:5.3.28-12\\+deb9u1:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "Debian Berkeley DB Group (maintainer)", "release": "N/A", @@ -508,7 +510,7 @@ }, "libfdisk1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libfdisk1:libfdisk1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libfdisk1:libfdisk1:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -519,7 +521,7 @@ }, "libgcc1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libgcc1:libgcc1:1:6.3.0-18+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libgcc1:libgcc1:1\\:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*"], "license": "Artistic GFDL-1.2 GPL GPL-2 GPL-3", "origin": "Debian GCC Maintainers (maintainer)", "release": "N/A", @@ -530,7 +532,7 @@ }, "libgcrypt20": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libgcrypt20:libgcrypt20:1.7.6-2+deb9u3:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libgcrypt20:libgcrypt20:1.7.6-2\\+deb9u3:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL", "origin": "Debian GnuTLS Maintainers (maintainer)", "release": "N/A", @@ -560,12 +562,12 @@ "liblz4-1": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:liblz4-1:liblz4-1:0.0~r131-2+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:liblz4_1:liblz4-1:0.0~r131-2+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:liblz4-1:liblz4_1:0.0~r131-2+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:liblz4_1:liblz4_1:0.0~r131-2+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:liblz4:liblz4-1:0.0~r131-2+b1:*:*:*:*:*:*:*", - "cpe:2.3:a:liblz4:liblz4_1:0.0~r131-2+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4-1:liblz4-1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4_1:liblz4-1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4-1:liblz4_1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4_1:liblz4_1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4:liblz4-1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", + "cpe:2.3:a:liblz4:liblz4_1:0.0\\~r131-2\\+b1:*:*:*:*:*:*:*", ], "license": "BSD-2-clause GPL-2 GPL-2+", "origin": "Nobuhiro Iwamatsu (maintainer)", @@ -577,7 +579,7 @@ }, "liblzma5": { "arch": "amd64", - "cpes": ["cpe:2.3:a:liblzma5:liblzma5:5.2.2-1.2+b1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:liblzma5:liblzma5:5.2.2-1.2\\+b1:*:*:*:*:*:*:*"], "license": "Autoconf GPL-2 GPL-2+ GPL-3 LGPL-2 LGPL-2.1 LGPL-2.1+ PD PD-debian config-h noderivs permissive-fsf permissive-nowarranty probably-PD", "origin": "Jonathan Nieder (maintainer)", "release": "N/A", @@ -588,7 +590,7 @@ }, "libmount1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libmount1:libmount1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libmount1:libmount1:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -600,7 +602,7 @@ "libncursesw5": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:libncursesw5:libncursesw5:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*" + "cpe:2.3:a:libncursesw5:libncursesw5:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*" ], "license": "Unknown", "origin": "Craig Small (maintainer)", @@ -681,7 +683,7 @@ }, "libpcre3": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libpcre3:libpcre3:2:8.39-3:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libpcre3:libpcre3:2\\:8.39-3:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "Matthew Vernon (maintainer)", "release": "N/A", @@ -692,7 +694,7 @@ }, "libselinux1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libselinux1:libselinux1:2.6-3+b3:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libselinux1:libselinux1:2.6-3\\+b3:*:*:*:*:*:*:*"], "license": "GPL-2 LGPL-2.1", "origin": "Debian SELinux maintainers (maintainer)", "release": "N/A", @@ -743,7 +745,9 @@ }, "libsmartcols1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libsmartcols1:libsmartcols1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": [ + "cpe:2.3:a:libsmartcols1:libsmartcols1:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*" + ], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -754,7 +758,7 @@ }, "libss2": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libss2:libss2:1.43.4-2+deb9u2:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libss2:libss2:1.43.4-2\\+deb9u2:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "Theodore Y. Ts'o (maintainer)", "release": "N/A", @@ -765,7 +769,9 @@ }, "libstdc++6": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libstdc++6:libstdc++6:6.3.0-18+deb9u1:*:*:*:*:*:*:*"], + "cpes": [ + "cpe:2.3:a:libstdc\\+\\+6:libstdc\\+\\+6:6.3.0-18\\+deb9u1:*:*:*:*:*:*:*" + ], "license": "Artistic GFDL-1.2 GPL GPL-2 GPL-3", "origin": "Debian GCC Maintainers (maintainer)", "release": "N/A", @@ -776,7 +782,7 @@ }, "libsystemd0": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libsystemd0:libsystemd0:232-25+deb9u12:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libsystemd0:libsystemd0:232-25\\+deb9u12:*:*:*:*:*:*:*"], "license": "CC0 Expat GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ public-domain", "origin": "Debian systemd Maintainers (maintainer)", "release": "N/A", @@ -787,7 +793,9 @@ }, "libtinfo5": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libtinfo5:libtinfo5:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*"], + "cpes": [ + "cpe:2.3:a:libtinfo5:libtinfo5:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*" + ], "license": "Unknown", "origin": "Craig Small (maintainer)", "release": "N/A", @@ -798,7 +806,7 @@ }, "libudev1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libudev1:libudev1:232-25+deb9u12:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libudev1:libudev1:232-25\\+deb9u12:*:*:*:*:*:*:*"], "license": "CC0 Expat GPL-2 GPL-2+ LGPL-2.1 LGPL-2.1+ public-domain", "origin": "Debian systemd Maintainers (maintainer)", "release": "N/A", @@ -831,7 +839,7 @@ }, "libuuid1": { "arch": "amd64", - "cpes": ["cpe:2.3:a:libuuid1:libuuid1:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:libuuid1:libuuid1:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -842,7 +850,7 @@ }, "login": { "arch": "amd64", - "cpes": ["cpe:2.3:a:login:login:1:4.4-4.1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:login:login:1\\:4.4-4.1:*:*:*:*:*:*:*"], "license": "GPL-2", "origin": "Shadow package maintainers (maintainer)", "release": "N/A", @@ -871,7 +879,7 @@ }, "mawk": { "arch": "amd64", - "cpes": ["cpe:2.3:a:mawk:mawk:1.3.3-17+b3:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:mawk:mawk:1.3.3-17\\+b3:*:*:*:*:*:*:*"], "license": "GPL-2", "origin": "Steve Langasek (maintainer)", "release": "N/A", @@ -882,7 +890,7 @@ }, "mount": { "arch": "amd64", - "cpes": ["cpe:2.3:a:mount:mount:2.29.2-1+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:mount:mount:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*"], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", "release": "N/A", @@ -894,12 +902,12 @@ "multiarch-support": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:multiarch-support:multiarch-support:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:multiarch_support:multiarch-support:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:multiarch-support:multiarch_support:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:multiarch_support:multiarch_support:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:multiarch:multiarch-support:2.24-11+deb9u4:*:*:*:*:*:*:*", - "cpe:2.3:a:multiarch:multiarch_support:2.24-11+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch-support:multiarch-support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch_support:multiarch-support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch-support:multiarch_support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch_support:multiarch_support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch:multiarch-support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", + "cpe:2.3:a:multiarch:multiarch_support:2.24-11\\+deb9u4:*:*:*:*:*:*:*", ], "license": "GPL-2 LGPL-2.1", "origin": "GNU Libc Maintainers (maintainer)", @@ -912,12 +920,12 @@ "ncurses-base": { "arch": "all", "cpes": [ - "cpe:2.3:a:ncurses-base:ncurses-base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses_base:ncurses-base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses-base:ncurses_base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses_base:ncurses_base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses:ncurses-base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses:ncurses_base:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses-base:ncurses-base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses_base:ncurses-base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses-base:ncurses_base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses_base:ncurses_base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses:ncurses-base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses:ncurses_base:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", ], "license": "Unknown", "origin": "Craig Small (maintainer)", @@ -930,12 +938,12 @@ "ncurses-bin": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:ncurses-bin:ncurses-bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses_bin:ncurses-bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses-bin:ncurses_bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses_bin:ncurses_bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses:ncurses-bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", - "cpe:2.3:a:ncurses:ncurses_bin:6.0+20161126-1+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses-bin:ncurses-bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses_bin:ncurses-bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses-bin:ncurses_bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses_bin:ncurses_bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses:ncurses-bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", + "cpe:2.3:a:ncurses:ncurses_bin:6.0\\+20161126-1\\+deb9u2:*:*:*:*:*:*:*", ], "license": "Unknown", "origin": "Craig Small (maintainer)", @@ -947,7 +955,7 @@ }, "passwd": { "arch": "amd64", - "cpes": ["cpe:2.3:a:passwd:passwd:1:4.4-4.1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:passwd:passwd:1\\:4.4-4.1:*:*:*:*:*:*:*"], "license": "GPL-2", "origin": "Shadow package maintainers (maintainer)", "release": "N/A", @@ -959,12 +967,12 @@ "perl-base": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:perl-base:perl-base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", - "cpe:2.3:a:perl_base:perl-base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", - "cpe:2.3:a:perl-base:perl_base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", - "cpe:2.3:a:perl_base:perl_base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", - "cpe:2.3:a:perl:perl-base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", - "cpe:2.3:a:perl:perl_base:5.24.1-3+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl-base:perl-base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl_base:perl-base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl-base:perl_base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl_base:perl_base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl:perl-base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", + "cpe:2.3:a:perl:perl_base:5.24.1-3\\+deb9u7:*:*:*:*:*:*:*", ], "license": "Artistic Artistic-2 BSD-3-clause BSD-3-clause-GENERIC BSD-3-clause-with-weird-numbering BSD-4-clause-POWERDOG BZIP DONT-CHANGE-THE-GPL Expat GPL-1 GPL-1+ GPL-2 GPL-2+ GPL-3+-WITH-BISON-EXCEPTION HSIEH-BSD HSIEH-DERIVATIVE LGPL-2.1 REGCOMP REGCOMP, RRA-KEEP-THIS-NOTICE S2P SDBM-PUBLIC-DOMAIN TEXT-TABS Unicode ZLIB", "origin": "Niko Tyni (maintainer)", @@ -988,12 +996,12 @@ "sensible-utils": { "arch": "all", "cpes": [ - "cpe:2.3:a:sensible-utils:sensible-utils:0.0.9+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:sensible_utils:sensible-utils:0.0.9+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:sensible-utils:sensible_utils:0.0.9+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:sensible_utils:sensible_utils:0.0.9+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:sensible:sensible-utils:0.0.9+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:sensible:sensible_utils:0.0.9+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible-utils:sensible-utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible_utils:sensible-utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible-utils:sensible_utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible_utils:sensible_utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible:sensible-utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:sensible:sensible_utils:0.0.9\\+deb9u1:*:*:*:*:*:*:*", ], "license": "GPL-2", "origin": "Anibal Monsalve Salazar (maintainer)", @@ -1034,7 +1042,7 @@ }, "tzdata": { "arch": "all", - "cpes": ["cpe:2.3:a:tzdata:tzdata:2020a-0+deb9u1:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:tzdata:tzdata:2020a-0\\+deb9u1:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "GNU Libc Maintainers (maintainer)", "release": "N/A", @@ -1046,12 +1054,12 @@ "util-linux": { "arch": "amd64", "cpes": [ - "cpe:2.3:a:util_linux:util-linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:util-linux:util-linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:util_linux:util_linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:util-linux:util_linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:util:util-linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", - "cpe:2.3:a:util:util_linux:2.29.2-1+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util_linux:util-linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util-linux:util-linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util_linux:util_linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util-linux:util_linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util:util-linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", + "cpe:2.3:a:util:util_linux:2.29.2-1\\+deb9u1:*:*:*:*:*:*:*", ], "license": "BSD-2-clause BSD-3-clause BSD-4-clause GPL-2 GPL-2+ GPL-3 GPL-3+ LGPL LGPL-2 LGPL-2+ LGPL-2.1 LGPL-2.1+ LGPL-3 LGPL-3+ MIT public-domain", "origin": "Debian util-linux Maintainers (maintainer)", @@ -1063,7 +1071,7 @@ }, "zlib1g": { "arch": "amd64", - "cpes": ["cpe:2.3:a:zlib1g:zlib1g:1:1.2.8.dfsg-5:*:*:*:*:*:*:*"], + "cpes": ["cpe:2.3:a:zlib1g:zlib1g:1\\:1.2.8.dfsg-5:*:*:*:*:*:*:*"], "license": "Unknown", "origin": "Mark Brown (maintainer)", "release": "N/A", diff --git a/tests/integration/clients/__init__.py b/tests/integration/clients/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/integration/clients/test_anchoreio_feeds.py b/tests/integration/clients/test_anchoreio_feeds.py deleted file mode 100644 index 8e1f9f306..000000000 --- a/tests/integration/clients/test_anchoreio_feeds.py +++ /dev/null @@ -1,86 +0,0 @@ -import datetime - -from anchore_engine.services.policy_engine.engine.feeds.client import get_feeds_client -from anchore_engine.services.policy_engine.engine.feeds.config import SyncConfig -from anchore_engine.subsys import logger -from tests.utils import init_test_logging - -feed_url = "https://ancho.re/v1/service/feeds" -init_test_logging(level="info") - - -def test_anon_user(): - test_client = get_feeds_client( - SyncConfig( - enabled=True, - url=feed_url, - username="anon@ancho.re", - password="pbiU2RYZ2XrmYQ", - connection_timeout_seconds=10, - read_timeout_seconds=30, - ) - ) - for f in test_client.list_feeds().feeds: - try: - test_client.list_feed_groups(f.name) - except Exception as e: - logger.error(("Caught: {} for feed: {}".format(e, f))) - test_client.get_feed_group_data( - "vulnerabilities", "alpine:3.6", since=datetime.datetime.utcnow() - ) - - -# def test_auth_error(): -# with pytest.raises(InvalidCredentialsError): -# test_client = get_client(feeds_url=feed_url, -# token_url=token_url, -# client_url=client_url, -# user=('anon@ancho.re', 'foobar'), -# conn_timeout=10, -# read_timeout=30) -# f = test_client.list_feeds() - - -def test_feed_sync(): - test_client = get_feeds_client( - SyncConfig( - enabled=True, - url=feed_url, - username="anon@ancho.re", - password="pbiU2RYZ2XrmYQ", - connection_timeout_seconds=10, - read_timeout_seconds=30, - ) - ) - for f in test_client.list_feeds().feeds: - try: - test_client.list_feed_groups(f.name) - except Exception as e: - logger.info(("Caught: {} for feed: {}".format(e, f))) - - next_token = False - since_time = None - feed = "vulnerabilities" - group = "alpine:3.6" - last_token = None - - while next_token is not None: - logger.info("Getting a page of data") - if next_token: - last_token = next_token - logger.info("Using token: {}".format(next_token)) - data = test_client.get_feed_group_data( - feed, group, since=since_time, next_token=next_token - ) - else: - last_token = None - data = test_client.get_feed_group_data(feed, group, since=since_time) - - next_token = data.next_token - logger.info( - "Got {} items and new next token: {}".format(data.record_count, next_token) - ) - - if next_token: - assert next_token != last_token - assert len(data.data) > 0 diff --git a/tests/integration/services/policy_engine/feeds/test_download.py b/tests/integration/services/policy_engine/feeds/test_download.py deleted file mode 100644 index 9f65ede85..000000000 --- a/tests/integration/services/policy_engine/feeds/test_download.py +++ /dev/null @@ -1,100 +0,0 @@ -""" -Tests the feed data fetcher -""" - -import os -import tempfile -import uuid - -from anchore_engine.common.models.schemas import ( - DownloadOperationConfiguration, - GroupDownloadOperationConfiguration, - GroupDownloadOperationParams, -) -from anchore_engine.services.policy_engine.engine.feeds.client import get_feeds_client -from anchore_engine.services.policy_engine.engine.feeds.config import SyncConfig -from anchore_engine.services.policy_engine.engine.feeds.download import FeedDownloader -from anchore_engine.subsys import logger -from anchore_engine.utils import timer -from tests.utils import init_test_logging - -init_test_logging(level="debug") - -ANCHOREIO_URI = "https://ancho.re/v1/service/feeds" - - -def test_feed_downloader(): - """ - Requires network access to the public feed service ancho.re - - :return: - """ - - groups_to_sync = [ - GroupDownloadOperationConfiguration( - feed="vulnerabilities", - group="alpine:3.7", - parameters=GroupDownloadOperationParams(since=None), - ), - GroupDownloadOperationConfiguration( - feed="vulnerabilities", - group="alpine:3.8", - parameters=GroupDownloadOperationParams(since=None), - ), - # GroupDownloadOperationConfiguration(feed='nvdv2', group='nvdv2:cves', parameters=GroupDownloadOperationParams(since=None)) - ] - dl_conf = DownloadOperationConfiguration( - groups=groups_to_sync, uuid=uuid.uuid4().hex, source_uri=ANCHOREIO_URI - ) - tmpdir = tempfile.mkdtemp(prefix="anchoretest_repo-") - data_repo = None - try: - client = get_feeds_client( - SyncConfig( - enabled=True, - url=ANCHOREIO_URI, - username="something", - password="something", - connection_timeout_seconds=1, - read_timeout_seconds=30, - ) - ) - fetcher = FeedDownloader( - download_root_dir=tmpdir, config=dl_conf, client=client, fetch_all=False - ) - - with timer("feed download", log_level="info"): - data_repo = fetcher.execute() - - assert data_repo is not None - assert data_repo.root_dir.startswith(tmpdir) - assert data_repo.metadata.data_write_dir.startswith(tmpdir) - assert os.path.isdir(data_repo.metadata.data_write_dir) - assert os.path.isdir(data_repo.root_dir) - assert len(os.listdir(tmpdir)) > 0 - - count = 0 - with timer("alpine 3.8 iterate", log_level="info"): - for _ in data_repo.read("vulnerabilities", "alpine:3.8", 0): - count += 1 - - assert count == sum( - [ - x.total_records - for x in data_repo.metadata.download_result.results - if x.feed == "vulnerabilities" and x.group == "alpine:3.8" - ] - ) - - with timer("alpine 3.7 iterate", log_level="info"): - for _ in data_repo.read("vulnerabilities", "alpine:3.7", 0): - count += 1 - - assert count == sum( - [x.total_records for x in data_repo.metadata.download_result.results] - ) - - finally: - logger.info("Cleaning up temp dir") - if data_repo: - data_repo.teardown()