Skip to content

openssl: Fix CVE-2023-50782 affecting python-cryptography#9209

Merged
jcamposeco merged 7 commits into
fasttrack/2.0from
juan/cve-2023-50782
Jun 5, 2024
Merged

openssl: Fix CVE-2023-50782 affecting python-cryptography#9209
jcamposeco merged 7 commits into
fasttrack/2.0from
juan/cve-2023-50782

Conversation

@jcamposeco

@jcamposeco jcamposeco commented May 23, 2024

Copy link
Copy Markdown
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
  • Ready to merge

Summary

PR to fix CVE-2023-50782 against python-cryptography.
The fix for the CVE is not in python-cryptography, the change needed resides in OpenSSL 1.1.1. where a specific path might be vulnerable.
This patch is backported to 1.1.1 and can be found in https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/2054090
https://gitlab.com/redhat/centos-stream/rpms/openssl/-/blob/c8s/openssl-1.1.1-pkcs1-implicit-rejection.patch?ref_type=heads

Change Log
Does this affect the toolchain?

YES
https://dev.azure.com/mariner-org/mariner/_build/results?buildId=581180&view=results

Associated issues
Links to CVEs
Test Methodology
  • Pipeline build id: xxxx

@jcamposeco jcamposeco changed the base branch from 2.0 to fasttrack/2.0 May 23, 2024 21:26
Comment thread SPECS/openssl/openssl.spec
Comment thread SPECS/openssl/openssl.spec
Comment thread SPECS/openssl/openssl.spec
Comment thread SPECS/openssl/openssl.spec
@jcamposeco jcamposeco changed the title openssl: Fix CVE-2023-50768 affecting python-cryptography openssl: Fix CVE-2023-50782 affecting python-cryptography May 28, 2024
@jcamposeco jcamposeco marked this pull request as ready for review June 5, 2024 18:27
@jcamposeco jcamposeco requested review from a team as code owners June 5, 2024 18:27
@jcamposeco jcamposeco merged commit 92416a7 into fasttrack/2.0 Jun 5, 2024
@jcamposeco jcamposeco deleted the juan/cve-2023-50782 branch June 5, 2024 21:05
CBL-Mariner-Bot pushed a commit that referenced this pull request Jun 5, 2024
@CBL-Mariner-Bot

Copy link
Copy Markdown
Collaborator

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.

4 participants