Граф коммитов

6543 Коммитов

Автор SHA1 Сообщение Дата
Saul Paredes 03b1f59222 remove lock files 2024-11-19 15:34:05 -08:00
Saul Paredes 13616855f3 rubygem-rexml: patch CVE-2024-49761
Patch adapted from ce59f2eb1a
which fixes CVE-2024-49761 per https://nvd.nist.gov/vuln/detail/CVE-2024-49761

Needed for rubygem-rexml versions < 3.3.9

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
2024-11-18 11:22:02 -08:00
Saul Paredes 37189199fa ruby: patch CVE-2024-49761
Patch adapted from ce59f2eb1a
which fixes CVE-2024-49761 per https://nvd.nist.gov/vuln/detail/CVE-2024-49761

Needed for rubygem-rexml versions < 3.3.9

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
2024-11-18 11:22:02 -08:00
Saul Paredes 0f58e4f4bf ruby: update to 3.3.5 to resolve CVE-2024-39908
Also remove CVE-2024-41946.patch as it no longer applies as ruby 3.3.5 containers rubygem-rexml 3.3.6, where CVE-2024-41946 is already fixed

Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
2024-11-18 11:22:02 -08:00
jslobodzian 3aad89c098 Revert "[3.0] prometheus - Fix CVE-2023-45288 (#10956)"
This reverts commit ac59afa04a.
2024-11-15 15:28:55 -05:00
sharath-srikanth-chellappa 11eb59028c
glib: Fix for CVE 2024 52533 (#11075)
Co-authored-by: Sharath Srikanth Chellappa <sharathsr@microsoft.com>
2024-11-14 14:44:17 -05:00
SeanDougherty 3c311123c5
pytorch: fix CVE-2024-5187 (#10946)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-11-12 20:07:46 -05:00
nicolas guibourge ac59afa04a
[3.0] prometheus - Fix CVE-2023-45288 (#10956)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
Co-authored-by: Mykhailo Bykhovtsev <108374904+mbykhovtsev-ms@users.noreply.github.com>
Co-authored-by: Andrew Phelps <anphel31@users.noreply.github.com>
2024-11-12 20:07:12 -05:00
SeanDougherty ea0f491466
Valkey: Fix CVE-2024-31449 CVE-2024-21228 CVE-2024-31227 by upgrading Valkey to 8.0.1 (#10924)
Co-authored-by: Rohit Rawat <rohitrawat@microsoft.com>
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-11-12 11:44:55 -08:00
jslobodzian 878433aca0 Merge branch '3.0' into fasttrack/3.0 2024-11-11 11:07:29 -05:00
jslobodzian 30d1349857 Merge branch '3.0-dev' into 3.0 2024-11-01 17:16:08 -04:00
CBL-Mariner-Bot 75d1fc3275
[AUTO-CHERRYPICK] Patched CVE-2023-45866 in `bluez`. (CP: #7097) - branch 3.0-dev (#10912)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-11-01 17:15:32 -04:00
CBL-Mariner-Bot 5a49210cdd
[AUTO-CHERRYPICK] gnutls: Fix CVE-2024-28834, CVE-2024-28835 - branch 3.0-dev (#10913)
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
2024-11-01 17:15:00 -04:00
jslobodzian ec7cffeffd Merge branch '3.0-dev' into 3.0 2024-11-01 17:12:54 -04:00
Chris Gunn f52c8e60cb
Partial revert of "Toolkit: Add missing `flock` calls. (#10804)". (#10917)
Reverting toolkit/imager changes in #10804. Leaving off the changes to image customizer to avoid conflicts with #10902,
2024-11-01 13:58:19 -07:00
Daniel McIlvaney a3180dd0f3
gnutls: Fix CVE-2024-28834, CVE-2024-28835 (#10899)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-11-01 14:38:42 -04:00
Pawel Winogrodzki 1f07f31225
Patched CVE-2023-45866 in `bluez`. (CP: #7097) (#10894)
Co-authored-by: suresh-thelkar <suresh.thelkar@yahoo.com>
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-11-01 14:38:06 -04:00
Riken Maharjan 918bcf05dc
Make pytorch vendor generation script executable (#10908) 2024-11-01 08:40:04 -07:00
Muhammad Falak R Wani d1598f3f39
golang: support v1.22 and v1.23 (#10654)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-11-01 09:39:23 +05:30
Chris Gunn 6836510080
Image Customizer: Fix partition creation on Ubuntu build hosts. (#10902)
The change #10804 (Toolkit: Add missing flock calls) seems to have caused a problem where on Ubuntu 22.04 build hosts, the partition info isn't populated quickly enough after partition creation and formatting. So, the `lsblk` call might return missing information. Adding a `partprobe` call before the `lsblk` call seems to fix the problem.
2024-10-31 12:43:41 -07:00
Chris Gunn 977ae8676a
Revert "Image Customizer: Fix partition creation on Ubuntu build hosts." (#10901)
Reverts microsoft/azurelinux#10897. Wrong branch. :-(
2024-10-31 12:04:46 -07:00
Christopher Co 1f7349be9c
fix: add fedora SBAT entries to grub2 (#10865)
Since we pull secure boot patches from Fedora's grub2, we should include their SBAT entries into our Azure Linux grub2 SBAT.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-10-31 11:52:39 -07:00
Chris Gunn 49c865cad6
Image Customizer: Fix partition creation on Ubuntu build hosts. (#10897)
The change #10804 (Toolkit: Add missing flock calls) seems to have caused a problem where on Ubuntu 22.04 build hosts, the partition info isn't populated quickly enough after partition creation and formatting. So, the `lsblk` call might return missing information. Adding a `partprobe` call before the `lsblk` call seems to fix the problem.
2024-10-31 11:52:25 -07:00
Thien Trung Vuong b847500802
kernel-uki: remove noxsaves parameter from cmdline (#10890)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-10-31 11:48:55 -07:00
jslobodzian f6aa123bfb Merge branch '3.0-dev' into 3.0 2024-10-30 18:38:00 -04:00
Daniel McIlvaney 07c7a6f685
Avahi: Fix CVE-2023-1981, add %check section (#10882) 2024-10-30 15:37:00 -07:00
Nick Samson 29b2ed2896
Upgrade vim to 9.1.0791 to fix CVE-2024-47814 and remove older unnecessary patches (#10883)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2024-10-30 15:30:58 -07:00
CBL-Mariner-Bot 76a299f7a1
[AUTO-CHERRYPICK] Patched CVE-2024-22365 in `pam`. (CP: #8320) - branch 3.0-dev (#10896)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-10-30 18:26:59 -04:00
CBL-Mariner-Bot bef8a9cc8c
[AUTO-CHERRYPICK] Fix expat CVE-2024-50602 fasttrack 3.0 - branch 3.0-dev (#10895)
Co-authored-by: sindhu-karri <33163197+sindhu-karri@users.noreply.github.com>
2024-10-30 18:23:56 -04:00
CBL-Mariner-Bot bc236a19f2
[AUTO-CHERRYPICK] Switched `mysql` to use AZL's version of `protobuf` to fix CVE-2024-2410. - branch 3.0-dev (#10893)
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2024-10-30 18:20:33 -04:00
Pawel Winogrodzki 9bb8d61e0b
Patched CVE-2024-22365 in `pam`. (CP: #8320) (#10892)
Co-authored-by: Saul Paredes <30801614+Redent0r@users.noreply.github.com>
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-10-30 18:18:24 -04:00
sindhu-karri 381af10698
Fix expat CVE-2024-50602 fasttrack 3.0 (#10887)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-10-30 18:14:52 -04:00
Pawel Winogrodzki 32745e495e
Switched `mysql` to use AZL's version of `protobuf` to fix CVE-2024-2410. (#10877) 2024-10-30 18:04:11 -04:00
Christopher Co 61e1f3956b
Revert "iptables: Enable nftables (#10786)" (#10814) 2024-10-30 12:18:23 -07:00
CBL-Mariner-Bot a1bad828ee
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.57.1 - branch 3.0-dev (#10879)
This upgrade introduces the nvidia-gb-200 feature branch and updates source to 6.6.57.1
2024-10-29 22:20:29 -07:00
Chris Gunn 482476a44e
Image Customizer: Set VHDX block-size to 2 MiB. (#10880)
Currently, the size of outputted VHDX files can be substantially larger than VHD or qcow2 files. This behavior occurs because `qemu-img` dynamically sets the block-size based on the size of the disk. And larger blocks sizes means the file format is less space efficient, which results in a larger image file.

This change sets the block-size to 2 MiB for VHDX files. This matches the `qemu-img` defaults for VHD and QCOW2.

For reference, Windows seems to use a default block-size of 1 MiB for VHDX files.
2024-10-29 16:52:56 -07:00
Chris Gunn 1dcc313873
Image Customizer: Fix verity docs. (#10852) 2024-10-29 16:45:03 -07:00
Chris Gunn 9255c2313c
Image Customizer: Fix ISO customization. (#10885)
In change #10789, the `imagecustomizerapi.FileSystem` type had an internal field added called `PartitionId` which is filled in by the API validity checks.

ISO to ISO customization supports cracking open the squashfs file and modifying the Live-OS. However, to do this, a temporary OS image must be created. This creation logic uses the `imagecustomizerapi.FileSystem` type but the code wasn't updated to ensure the `PartitionId` field has a value.
2024-10-29 16:02:15 -07:00
Aditya Dubey 04fe625df7
Image Customizer: Support string mountPoint (#10862) 2024-10-29 12:14:02 -07:00
Andrew Phelps a4aa51e325
libarchive: Upgrade to 3.7.7 to fix CVE-2024-48957, CVE-2024-48958, C… (#10868)
Co-authored-by: Nan Liu <108544011+liunan-ms@users.noreply.github.com>
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-10-29 14:42:16 -04:00
Andrew Phelps 47307a2c37
3.0: kata-containers: only build for x86_64 (#10849) (#10866)
Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
Co-authored-by: Saul Paredes <30801614+Redent0r@users.noreply.github.com>
2024-10-29 08:51:24 -07:00
Rohit Rawat 015c335350
Valkey: disable flaky mem tests (#10873) 2024-10-29 21:02:12 +05:30
Saul Paredes 2a21a73548
kernel-mshv: Increase build verbosity (#10851)
Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
2024-10-28 10:46:39 -07:00
Thien Trung Vuong 1346b9143d
dracut: make tpm2-tss an optional dependency of systemd-pcrphase (#10693)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-10-25 20:14:11 -07:00
CBL-Mariner-Bot 59216ae4b3
[AUTOPATCHER-kernel] Kernel CVE - branch 3.0-dev - CVE-2024-46863 CVE-2024-26596 CVE-2024-27017 CVE-2024-27012 CVE-2024-36478 CVE-2024-46710 (#10631) 2024-10-25 19:28:33 -07:00
Chris Gunn 0353f3269f
Image Customizer: Make verity API a list. (#10789)
Change the verity config from a single item to a list of items. This is being done so that it is easier to add support for other verity partitions (e.g. /usr) in the future. However, this change restricts the verity API to only the root partition (`/`).

In addition, move the verity config from `.os` to `.storage`. This is being done for alignment with the Trident API. But is also probably a more morally correct place for verity to be placed.

As a side effect, this change removes support for enabling verity on a base image that somehow had all the correct partitions to support verity but didn't actually have verity enabled. None of our base images are like this. So, it is expected that no user ever made use of this functionality. This functionality could be re-added in the future. It was omitted from this change to avoid adding additional complexity.
2024-10-25 15:20:10 -07:00
Saul Paredes 97ffbbb88e
kata-containers: only build for x86_64 (#10849)
Signed-off-by: Saul Paredes <saulparedes@microsoft.com>
2024-10-25 13:15:40 -07:00
Chris Gunn 41ee355395
Fix partition initialization bug. (#10702)
After creating a partition, the toolkit must wait for the partition device to be created (under /dev). However, the naming scheme of partitions is inconsistent, with both `/dev/<name>XX` and `/dev/<name>pXX` being used, depending on the device driver. So, the toolkit checks for both.

However, a problem occurs when the device name itself ends in a digit. If the disk device path is say `/dev/loop1`, then `/dev/loop11` is also a valid disk device path. For such disks, the `/dev/<name>pXX` form must be used for partitions.

While the toolkit prioritizes `/dev/loop1p1` over `/dev/loop11`, if the `/dev/loop1p1` device doesn't exist yet and `/dev/loop11` is in use, then the toolkit may pick the wrong device path for the partition.

This change fixes this by ignoring the `/dev/<name>XX` variant if the disk device path ends in a digit.
2024-10-25 11:56:22 -07:00
Chris Gunn e4e12d0201
Toolkit: Add missing `flock` calls. (#10804)
When making changes to partitions or filesystems, it is recommended to take a file lock over the disk block device as this informs the host OS that you are making changes and that it should avoid scanning or changing the device until you are done. While most of the relevant operations are covered, there a few places that are missing the lock. For example, when calling `mkfs` or `resize2fs`.
2024-10-25 11:56:09 -07:00
CBL-Mariner-Bot 03aefe9634
[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade mysql to 8.0.40 Fix multiple CVEs - branch 3.0-dev (#10836) 2024-10-25 14:39:20 -04:00