mgerst / flag-slurper

A red team utility for Cyber Defense Competitions.
https://flag-slurper.rtfd.io
MIT License
3 stars 2 forks source link

Bump cryptography from 2.7 to 39.0.1 #105

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps cryptography from 2.7 to 39.0.1.

Changelog

Sourced from cryptography's changelog.

39.0.1 - 2023-02-07


* **SECURITY ISSUE** - Fixed a bug where ``Cipher.update_into`` accepted Python
  buffer protocol objects, but allowed immutable buffers. **CVE-2023-23931**
* Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.0.8.

.. _v39-0-0:

39.0.0 - 2023-01-01

  • BACKWARDS INCOMPATIBLE: Support for OpenSSL 1.1.0 has been removed. Users on older version of OpenSSL will need to upgrade.
  • BACKWARDS INCOMPATIBLE: Dropped support for LibreSSL < 3.5. The new minimum LibreSSL version is 3.5.0. Going forward our policy is to support versions of LibreSSL that are available in versions of OpenBSD that are still receiving security support.
  • BACKWARDS INCOMPATIBLE: Removed the encode_point and from_encoded_point methods on :class:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicNumbers, which had been deprecated for several years. :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.public_bytes and :meth:~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePublicKey.from_encoded_point should be used instead.
  • BACKWARDS INCOMPATIBLE: Support for using MD5 or SHA1 in :class:~cryptography.x509.CertificateBuilder, other X.509 builders, and PKCS7 has been removed.
  • BACKWARDS INCOMPATIBLE: Dropped support for macOS 10.10 and 10.11, macOS users must upgrade to 10.12 or newer.
  • ANNOUNCEMENT: The next version of cryptography (40.0) will change the way we link OpenSSL. This will only impact users who build cryptography from source (i.e., not from a wheel), and specify their own version of OpenSSL. For those users, the CFLAGS, LDFLAGS, INCLUDE, LIB, and CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS environment variables will no longer be respected. Instead, users will need to configure their builds as documented here_.
  • Added support for :ref:disabling the legacy provider in OpenSSL 3.0.x<legacy-provider>.
  • Added support for disabling RSA key validation checks when loading RSA keys via :func:~cryptography.hazmat.primitives.serialization.load_pem_private_key, :func:~cryptography.hazmat.primitives.serialization.load_der_private_key, and :meth:~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateNumbers.private_key. This speeds up key loading but is :term:unsafe if you are loading potentially attacker supplied keys.
  • Significantly improved performance for :class:~cryptography.hazmat.primitives.ciphers.aead.ChaCha20Poly1305

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mgerst/flag-slurper/network/alerts).
mgerst commented 1 year ago

@dependabot rebase

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 90.59% and project coverage change: +2.15 :tada:

Comparison is base (6161c3f) 77.36% compared to head (858752e) 79.52%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #105 +/- ## ========================================== + Coverage 77.36% 79.52% +2.15% ========================================== Files 27 29 +2 Lines 1551 1719 +168 ========================================== + Hits 1200 1367 +167 - Misses 351 352 +1 ``` | [Impacted Files](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst) | Coverage Δ | | |---|---|---| | [flag\_slurper/autolib/protocols.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2F1dG9saWIvcHJvdG9jb2xzLnB5) | `31.81% <15.38%> (-2.21%)` | :arrow_down: | | [flag\_slurper/autolib/exploit.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2F1dG9saWIvZXhwbG9pdC5weQ==) | `58.51% <100.00%> (+12.27%)` | :arrow_up: | | [flag\_slurper/autolib/models.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2F1dG9saWIvbW9kZWxzLnB5) | `100.00% <100.00%> (ø)` | | | [flag\_slurper/autolib/post.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2F1dG9saWIvcG9zdC5weQ==) | `95.20% <100.00%> (+0.94%)` | :arrow_up: | | [flag\_slurper/cli.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2NsaS5weQ==) | `97.91% <100.00%> (+0.11%)` | :arrow_up: | | [flag\_slurper/conf/config.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL2NvbmYvY29uZmlnLnB5) | `98.70% <100.00%> (-1.30%)` | :arrow_down: | | [flag\_slurper/shadow/cmd.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL3NoYWRvdy9jbWQucHk=) | `100.00% <100.00%> (ø)` | | | [flag\_slurper/shadow/formatters.py](https://codecov.io/gh/mgerst/flag-slurper/pull/105?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst#diff-ZmxhZ19zbHVycGVyL3NoYWRvdy9mb3JtYXR0ZXJzLnB5) | `100.00% <100.00%> (ø)` | | ... and [13 files with indirect coverage changes](https://codecov.io/gh/mgerst/flag-slurper/pull/105/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst) Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Matt+Gerst)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

dependabot[bot] commented 1 year ago

Superseded by #108.