azurelinux
azurelinux copied to clipboard
Patched CVE-2021-2677 in `mysql`.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
- [X] The toolchain has been rebuilt successfully (or no changes were made to it)
- [X] The toolchain/worker package manifests are up-to-date
- [X] Any updated packages successfully build (or no packages were changed)
- [X] Packages depending on static components modified in this PR (Golang,
*-staticsubpackages, etc.) have had theirReleasetag incremented. - [X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
- [X] All package sources are available
- [X] cgmanifest files are up-to-date and sorted (
./cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json) - [X] 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) - [X] All source files have up-to-date hashes in the
*.signatures.jsonfiles - [X]
sudo make go-tidy-allandsudo make go-test-coveragepass - [X] Documentation has been updated to match any changes to the build system
- [X] Ready to merge
Summary
Patching CVE-2021-2677 in mysql.
Patch retrieved from Fedora's "boost-1.48.0-13.fc17" SRPM.
This is a modified version of the patch "boost-1.48.0-pool.patch" from the mentioned SRPM. Modifications:
- Skipping addition of the "libs/pool/test/test_bug_6701.cpp" file. MySQL's embedded version of "boost" doesn't contain the "libs" directory.
- Removal of trailing whitespaces in "boost/pool/pool.hpp" to avoid noisy build logs.
Does this affect the toolchain?
No.
Links to CVEs
- https://nvd.nist.gov/vuln/detail/CVE-2021-2677.