aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Smolyakov <v-asmoliakov@microsoft.com>2023-04-06 20:02:49 +0300
committerGitHub <noreply@github.com>2023-04-06 20:02:49 +0300
commit8d3e9aca9d352a3c4459e321de5d0a0b12062112 (patch)
tree1289e63c1b4fc840f02f29bf1c56fcd5c8731df6 /test
parent74959ec14975fe1c95133dc6d3ad5677e4cf66e1 (diff)
[features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 vulnerabilities (#518)feature_conda_1.0.9
* [features/conda] Address CVE-2023-0286, CVE-2023-23931, and CVE-2022-40897 vulnerabilities - Update `install.sh` to install updates for `cryptography` and `setuptools` packages - Add tests to verify `cryptography` and `setuptools` packages version * Bump feature version
Diffstat (limited to 'test')
-rwxr-xr-xtest/conda/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/conda/test.sh b/test/conda/test.sh
index 8a88511..fcb9d7e 100755
--- a/test/conda/test.sh
+++ b/test/conda/test.sh
@@ -32,5 +32,11 @@ check-version-ge() {
certifiVersion=$(python -c "import certifi; print(certifi.__version__)")
check-version-ge "certifi" "${certifiVersion}" "2022.12.07"
+cryptographyVersion=$(python -c "import cryptography; print(cryptography.__version__)")
+check-version-ge "cryptography" "${cryptographyVersion}" "39.0.1"
+
+setuptoolsVersion=$(python -c "import setuptools; print(setuptools.__version__)")
+check-version-ge "setuptools" "${setuptoolsVersion}" "65.5.1"
+
# Report result
reportResults