Skip to content

Conversation

@alexander-smolyakov
Copy link
Contributor

Devcontainer name:

  • universal

Description:

This PR patches the following vulnerabilities:

  • GHSA-jm77-qphf-c4w8 - related to the cryptography package;
  • GHSA-r9hx-vwmv-q579 - related to the setuptools package. The vulnerability was patched a while ago, but the site-packages folder contained an older version of the related package, which triggers security scanners;

Changelog:

patch-conda feature:

patch-python feature:

  • Removed the --user option from the pip install command. To make sure that the site-packages folder doesn't contain older versions of patched packages.

Tests:

  • Updated test to verify cryptography minimum version (Minimum package version set to 41.0.3 which fixes GHSA-jm77-qphf-c4w8);

  • Updated tests to use different environments when installing packages from the conda-forge channel;

  • Conda tests were renamed to make names more explicit;

Checklist:

  • Checked that applied changes work as expected

- Update check for `cryptography` package;
- Rename tests to make them more explicit;
- Update tests to use a separate conda's environment;
@alexander-smolyakov alexander-smolyakov requested a review from a team as a code owner September 13, 2023 15:15
@samruddhikhandale samruddhikhandale merged commit 98e7904 into devcontainers:main Sep 14, 2023
@samruddhikhandale samruddhikhandale mentioned this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants