Skip to content

Commit 8c3f159

Browse files
Upgrade mysql to 8.0.43 to fix 24 CVEs listed in the summary (microsoft#14373)
Co-authored-by: kgodara912 <[email protected]>
1 parent 51d068a commit 8c3f159

File tree

3 files changed

+25
-17
lines changed

3 files changed

+25
-17
lines changed

SPECS/mysql/mysql.signatures.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"Signatures": {
3-
"mysql-boost-8.0.42.tar.gz": "c2aa67c618edfa1bc379107fe819ca8e94cba5d85f156d1053b8fedc88cc5f8f"
4-
}
5-
}
2+
"Signatures": {
3+
"mysql-boost-8.0.43.tar.gz": "85fd5c3ac88884dc5ac4522ce54ad9c11a91f9396fecaa27152c757a3e6e936f"
4+
}
5+
}

SPECS/mysql/mysql.spec

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22

33
Summary: MySQL.
44
Name: mysql
5-
Version: 8.0.42
5+
Version: 8.0.43
66
Release: 1%{?dist}
77
License: GPLv2 with exceptions AND LGPLv2 AND BSD
88
Vendor: Microsoft Corporation
99
Distribution: Azure Linux
1010
Group: Applications/Databases
1111
URL: https://www.mysql.com
1212
Source0: https://dev.mysql.com/get/Downloads/MySQL-%{majmin}/%{name}-boost-%{version}.tar.gz
13-
Patch0: CVE-2012-5627.nopatch
1413
# AZL's OpenSSL builds with the "no-chacha" option making all ChaCha
1514
# ciphers unavailable.
1615
Patch1: fix-tests-for-unsupported-chacha-ciphers.patch
@@ -73,8 +72,14 @@ groupadd test
7372
useradd test -g test -m
7473
chown -R test:test .
7574

75+
echo "Detected architecture: %{_arch}"
7676
# In case of failure, print the test log.
77-
sudo -u test make test || { cat Testing/Temporary/LastTest.log; false; }
77+
%if "%{_arch}" == "aarch64"
78+
# merge_large_tests takes long time to run and eventually times out and fails.
79+
sudo -u test ctest -E merge_large_tests || { cat Testing/Temporary/LastTest.log || echo 'No log found'; false; }
80+
%else
81+
sudo -u test ctest || { cat Testing/Temporary/LastTest.log || echo 'No log found'; false; }
82+
%endif
7883

7984
%files
8085
%defattr(-,root,root)
@@ -97,24 +102,27 @@ sudo -u test make test || { cat Testing/Temporary/LastTest.log; false; }
97102
%files devel
98103
%{_libdir}/*.so
99104
%{_libdir}/*.a
100-
%{_libdir}/private/icudt73l/brkitr/*.res
101-
%{_libdir}/private/icudt73l/brkitr/*.brk
102-
%{_libdir}/private/icudt73l/brkitr/*.dict
103-
%{_libdir}/private/icudt73l/unames.icu
104-
%{_libdir}/private/icudt73l/ulayout.icu
105-
%{_libdir}/private/icudt73l/uemoji.icu
106-
%{_libdir}/private/icudt73l/cnvalias.icu
105+
%{_libdir}/private/icudt77l/brkitr/*.res
106+
%{_libdir}/private/icudt77l/brkitr/*.brk
107+
%{_libdir}/private/icudt77l/brkitr/*.dict
108+
%{_libdir}/private/icudt77l/unames.icu
109+
%{_libdir}/private/icudt77l/ulayout.icu
110+
%{_libdir}/private/icudt77l/uemoji.icu
111+
%{_libdir}/private/icudt77l/cnvalias.icu
107112
%{_includedir}/*
108113
%{_libdir}/pkgconfig/mysqlclient.pc
109114

110115
%changelog
116+
* Wed Jul 23 2025 Aninda Pradhan <[email protected]> - 8.0.43-1
117+
- Upgrade to 8.0.43 to fix CVE-2025-50081,CVE-2025-50077,CVE-2025-50099,CVE-2025-50102,CVE-2025-53023,CVE-2025-50096,CVE-2025-50084,CVE-2025-50104,CVE-2025-50098,CVE-2025-50085,CVE-2025-50093,CVE-2025-50087,CVE-2025-50083,CVE-2025-50082,CVE-2025-50086,CVE-2025-50092,CVE-2025-50094,CVE-2025-50100,CVE-2025-50097,CVE-2025-50101,CVE-2025-50091,CVE-2025-50078,CVE-2025-50080,CVE-2025-50079
118+
111119
* Wed Jun 04 2025 Kanishk Bansal <[email protected]> - 8.0.42-1
112120
- Upgrade to 8.0.42 to fix CVE-2025-30687, CVE-2025-30705, CVE-2025-30699, CVE-2025-30681, CVE-2025-30721, CVE-2025-21581, CVE-2025-30685,
113121
CVE-2025-30704, CVE-2025-30703, CVE-2025-30683, CVE-2025-30689, CVE-2025-21579, CVE-2025-30695, CVE-2025-21585, CVE-2025-30715,
114122
CVE-2025-21574, CVE-2025-30682, CVE-2025-21580, CVE-2025-21575, CVE-2025-21577, CVE-2025-30693, CVE-2025-30696, CVE-2025-30688,
115123
CVE-2025-21584, CVE-2025-30684
116124

117-
* Tue Mar 26 2025 Kanishk Bansal <[email protected]> - 8.0.41-1
125+
* Wed Mar 26 2025 Kanishk Bansal <[email protected]> - 8.0.41-1
118126
- Upgrade to 8.0.41 to fix CVE-2025-21490 & CVE-2024-11053
119127
- Remove patch for CVE-2024-9681
120128
- Remove patch for CVE-2025-0725 as we are building without curl

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13762,8 +13762,8 @@
1376213762
"type": "other",
1376313763
"other": {
1376413764
"name": "mysql",
13765-
"version": "8.0.42",
13766-
"downloadUrl": "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-8.0.42.tar.gz"
13765+
"version": "8.0.43",
13766+
"downloadUrl": "https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-boost-8.0.43.tar.gz"
1376713767
}
1376813768
}
1376913769
},

0 commit comments

Comments
 (0)