Commit Graph

3945 Commits

Author SHA1 Message Date
CBL-Mariner-Bot bcae6a15aa
[AUTOPATCHER-kernel] Kernel CVE - branch main - CVE-2023-33203 CVE-2023-1195 (#5594)
* CVE-2023-33288

* CVE-2023-33203 CVE-2023-1195
2023-06-01 14:15:48 -07:00
Trung 38d2e0ff55
remove timestamp code from scheduler (#5613) 2023-06-01 12:52:45 -07:00
Vince Perri b2260a5ab1
Fix extra line continuation in cryptsetup build spec (#5611) 2023-06-01 14:14:36 -04:00
Trung 48e35d64d4
fix test failure (#5608) 2023-05-31 17:20:20 -07:00
Vince Perri f83e43fbe0
Remove new cryptsetup-ssh-token package which creates circular build dependency (#5602) 2023-05-31 17:35:17 -04:00
Maxwell McKee ff3f45a97d
Upgrade KeysInUse-OpenSSL to 0.3.3 (#5514)
* Update KeysInUse-OpenSSL package to 0.3.3

* Fix aarch64 native compilation
2023-05-31 14:16:38 -07:00
Samuel Lee 65cc4fd6e2
Update SymCrypt and SCOSSL SPECs (#5547)
* Update SymCrypt and SCOSSL SPEC files

+ Preparing for certification, rev SymCrypt to 103.0.1 and SCOSSL to
  1.3.0
+ Add basic %check sections to the SPECs

* Move %check sections after %install sections

* Use clang for SymCrypt Arm64 build

* Follow linting advice to refer to gcc directly for x86_64
2023-05-31 12:23:48 -07:00
nicolas guibourge 49674852ce
remove python-pyvmomi component (#5582)
* remove python-pyvmomi from Mariner 2.0

* remove python-pyvmomi from Mariner 2.0

---------

Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2023-05-31 10:59:27 -07:00
rlmenge 0af13f0fb3
Add nvme_multipath and change default (#5584) 2023-05-31 09:44:59 -07:00
chalamalasetty c939408f71
Upgrade version to 4.0.10 to address CVE-2023-30601 (#5601) 2023-05-30 18:35:30 -07:00
Vince Perri 83351f3801
Promote and upgrade nbdkit, libssh; add priv_wrapper, cryptsetup-ssh-token (#5555) 2023-05-30 15:59:42 -04:00
sharath-srikanth-chellappa f50af657d6
Patch libvirt to fix CVE-2023-2700 (#5575)
* Adding new patch file to fix CVE-2023-2700 - v1

* Getting livepatches check to pass - v1

* Getting livepatches check to pass - v2

* Readding libvirt.spec

* Redoing commit to SPECS file

* Redoing commit to SPECS file - v2

---------

Co-authored-by: Sharath Srikanth Chellappa <sharathsr@microsoft.com>
2023-05-30 08:34:29 -07:00
Trung 93a82d67ea
Record performance of tooling using timestamps (#5446)
* added timestamp feature for image-building process

* Update toolkit/docs/how_it_works/1_initial_prep.md

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/pkggen/worker/create_worker_chroot.sh

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Removed test with direct filepath to home directory

* Removed unused imports in timestamp testing file

* Update toolkit/tools/roast/roast.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Pluralize timestamp flag description message

* add timestamp in create_worker_chroot; fix format in roast.go; removed unnecessary tests

* fix boilerplate template; relocate 'bldtracker' in go_tool_list to be alphabetical

* fixed formatting

* changed alphabetical order of go tools

* removed timestamp.TrackToFile (not used)

* Update toolkit/tools/bldtracker/bldtracker.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/bldtracker/bldtracker.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/pkggen/worker/create_worker_chroot.sh

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/pkggen/worker/create_worker_chroot.sh

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* fixed formatting & naming; changed log file output for bldtracker

* fixed minor mistakes

* replace raw strings with well-named constants

* csvparser now dynamically gets the list of CSV files to parse

* Address feedback

- Fix magic numbers in csvparser.go.
- Delete timestamp_test.go for this PR.
- Change initialize mode in bldtracker.go to "i".

* Fix formatting

* Fix formatting again

* Rename csvparser to timestampcsvparser

timestampcsvparser is a more accurate name than csvparser because it
indicates that the parser is not generic to all CSVs.

* Address syntax errors

- moved "$(go-bldtracker)" into "$(worker_chroot_deps)" in tools.mk
- wrapped “$timestamp_dir” with ""s when
calling bldtracker.go in create_worker_chroot.sh
- added missing space after "record" in the description for the "mode"
variable in bldtracker.go

* Fix calls to bldtracker tool

- add bldtracker back as an input for create_worker_chroot
- create the variable "script_name" to avoid duplicated operations

* Fix boilerplate

- Remove unnecessary CSV file generated as an output from
calling boilerplate.go
- Removed unnecessary comments

* Refined bldtracker variables

- made the modes constants
- changed the scope of "completePath" from global to local (in main())

* Use join for filepath concatenation.

* Move init filepath to above the err conditional.

* dashboard

* path finding adapted to user directories

* Added error handling; now checks every file in a list

* Change output from number of bytes to number of lines

* Rename dashboard function

* combined two slices into a map

* Done with the MVP

* changed output location to build/timestamp

* added progress bar visualization

* update bar

* progress bar in chronological order

* added timestamp at the beginning of any bash script; fixed progress bar to display the correct %

* a

* multiple progress bar

* added goroutine calls

* Recalculated the image build start time and duration using the init file modTime

* Modify timestamp descriptions and add dashboard labels

* Optimize dashboard label

* Remove comment

* fix formatting issues

* Change padleft and modify step names

* Modify step name in imager

* fixed dashboard length for smaller screens

* initialized new branch

* explained tests; moved /demo into /internal

* moved demo folder back to tools

* demo now adds timestamps in intervals

* done with generating json for demo

* fixed json name

* create wrapper around uiprogress to enable removing bars

* Nested progress bar on updating JSON file

* delayed progress bar removal

* new files

* fixed target dir and code structure

* fixed naming format

* cleaned up code

* Fixup after rebase

* wip

* wip 2

* wip 3

* bit of cleanup

* why is this a separate set of changes?

* WIP

* remove binary output file

* update manifests to stable

* use up to date toolchain versions

* wip

* fix build

* migrate from timestamp_v2 and fix logic

* resolve deadlock

* add comments

* formatting

* revert timestamp change

* remove unused scripts

* sync with main

* sync with main

* remove weighted stuff

* make sure CompleteTiming can only be run once

* Fix null ptr and add some test cases

* add test cases

* Add timestamp code to existing tooling (#5465)

* Revert "revert timestamp change"

This reverts commit 6f07ef16a3.

* Revert "revert timestamp change"

This reverts commit 6f07ef16a3.

* stop collecting timestamp on sigterm

* Address comments

* remove toolchain_download_timestamp.sh

* more test coverage

---------

Co-authored-by: (Apple) Xuanchen Li <apple20010209@163.com>
Co-authored-by: Applelxc <59279209+Applelxc@users.noreply.github.com>
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Co-authored-by: james-zhou1 <james.zhou@berkeley.edu>
Co-authored-by: James Zhou <91182187+james-zhou1@users.noreply.github.com>
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
Co-authored-by: james-zhou1 <james@james-Virtual-Machine>
Co-authored-by: Michelle <t-michelin@microsoft.com>
2023-05-26 18:12:18 -07:00
Trung 8ff5605363
Add patch for CVE-2023-24607 ad CVE-2023-32573 (#5593) 2023-05-26 17:17:25 -07:00
CBL-Mariner-Bot 1e870f6877
Prepare May 2023 Update 2 (#5590) 2023-05-26 16:22:35 -07:00
Mykhailo Bykhovtsev 0913fd9388
removing influx-cli-bash-completion subpackage (#5583) 2023-05-26 16:16:56 -07:00
Trung fafb40dc25
Revert "qt5: Upgrade to version 5.15.9" (#5591)
* Revert "qt5: Upgrade to version 5.15.9 (#5491)"

This reverts commit a7c5a1970f.

* verify license clause
2023-05-26 15:03:12 -07:00
Trung f7bc488a97
Revert "Updated `kf5` packages to version 5.106.0." (#5592)
* Revert "Updated `kf5` packages to version 5.106.0. (#5540)"

This reverts commit a70a33add5.

* verify license clause
2023-05-26 15:01:22 -07:00
rlmenge db1337af31
Patch libtiff for CVE-2023-2731 (#5588) 2023-05-26 14:02:56 -07:00
rlmenge 64e45b3b65
Patch sysstat for CVE-2023-33204 (#5586)
* Patch sysstat for CVE-2023-33204

* Update License

Co-authored-by: Olivia Crain <oliviacrain@microsoft.com>

---------

Co-authored-by: Olivia Crain <oliviacrain@microsoft.com>
2023-05-26 14:02:24 -07:00
CBL-Mariner-Bot cdefcdce5d
Upgrade nasm to 2.16 patch CVE-2022-44370 (#5568)
Merging on behalf of Suresh due to signoff.
2023-05-26 11:38:58 -07:00
Pawel Winogrodzki a70a33add5
Updated `kf5` packages to version 5.106.0. (#5540) 2023-05-25 16:55:37 -07:00
Pawel Winogrodzki d39197603f
Unified `*_LIST` arguments to accept spec names (#5570) 2023-05-25 16:23:21 -07:00
Cameron E Baird 7483ce7e19
Introduce patch to enable new hypervisor loader. (#5290)
This change is backwards-compatible with the old loader.

Introduces mariner-mshv.cfg which symlinks to the kernel used for the
dom0 host.

Signed-off-by: Cameron Baird <cameronbaird@microsoft.com>
2023-05-25 14:57:45 -07:00
Tobias Brick 095d48cd8f
Fix CVE-2023-28155 by patching request module in reaper (#5574) 2023-05-25 14:41:46 -07:00
Daniel McIlvaney f7542184aa
Fix ISO mount retry race condition (#5578)
* Update runliveinstaller to exit mount retry early

There is a race condition where we check if the cdrom mount is created, if not we go to mount it with `retry`. But the mount might be established during that period, and `mount` returns an error code if its target is already mounted so the retry will never exit early. Switch to using `eval` so we can pass a more complex bash command: `{ <check> || mount... ; }`.
2023-05-25 12:47:34 -07:00
Dallas Delaney e2bde6508a
Use static resource management and build using the host OpenSSL for kata-containers-cc (#5577)
* Use static resource management and build using the host's OpenSSL for kata-containers-cc
2023-05-25 09:27:53 -07:00
Christopher Co c9ae16899d
codeowners: Add maintainers for openssl engines (#5549)
* codeowners: Add maintainers for openssl engines

Symcrypt and KeysInUse are OpenSSL engines, so changes to these should
be reviewed by our openssl maintainers groups.

Signed-off-by: Chris Co <chrco@microsoft.com>

* codeowners: Add missing wildcard

Signed-off-by: Chris Co <chrco@microsoft.com>

---------

Signed-off-by: Chris Co <chrco@microsoft.com>
2023-05-24 19:31:29 -07:00
Daniel McIlvaney 4c2fcdcd9f
make RPM cache flat, improve tdnf arg formatting (#5535) 2023-05-24 18:28:07 -07:00
Daniel McIlvaney a22cdfc538
Include arch in ResolveCompetingPackages() output (#5537)
Also add extra verbose mode to depsearch.
2023-05-24 13:18:18 -07:00
CBL-Mariner-Bot dd9e4c0bf9
Kernel upgrade to 5.15.112.1 version (#5571) 2023-05-24 12:59:02 -07:00
Tobias Brick d80ac5964f
fix: add setuid bit to necessary binaries so regular users can run them (#5573) 2023-05-24 12:23:15 -07:00
Bala 4860181f7a
Update CVE-2022-37601.patch to fix multiple occurrences (#5563)
* Update CVE-2022-37601.patch to fix multiple occurances

loader-utils module is used by multiple other modules which reaper is
depending upon. Instead of reusing already downloaded code, npm
redownloades the same module at different subtree level of node_modules.
So the same CVE has to be fixed in other two places as well.

* Addressed review comments
2023-05-24 19:26:37 +05:30
Bala 4554031158
Fix CVE-2023-29194 by upgrading vitess to 16.0.2 (#5498)
* Fix CVE-2023-29194 by upgrading vitess to version 16.0.2

* Updage cgmanifest.json with correct version
2023-05-24 10:25:10 +05:30
suresh-thelkar 63aa50411b
Patch frr with CVE-2023-31490 (#5564) 2023-05-24 09:46:39 +05:30
Gary Swalling ab0e564dc1
Remove x86 console params from ARM-specific grub config file 2023-05-23 17:03:49 -07:00
Betty 58ad13d33b
Provide k8s-cni in cni-plugins rpm (#5543)
Provide k8s-cni in cni-plugins

---------

Co-authored-by: Betty Lakes <bettylakes@microsoft.com>
2023-05-23 15:05:28 -07:00
Olivia Crain bfba5a8655
Remove python2 test exclusion (#5553) 2023-05-23 09:52:49 -07:00
Olivia Crain b992bf8d1e
Pin version of hypothesis used in numpy tests to avoid test breakage (#5548) 2023-05-23 09:51:50 -07:00
Bala b9b5742300
Upgrade lua to 5.4.4 to fix CVE-2021-44964 (#5478)
* Upgrade lua to 5.4.4 to fix CVE-2021-44964

* Update signature file manually

* Update toolchain build scripts for lua

* Remove patches that were already merged to lua-5.4.4

* Fix typo in changelog
2023-05-23 11:58:06 +05:30
Tobias Brick 33106ca0ad
Remove umask handling from bash.spec and change it in filesystem.spec (#5528) 2023-05-22 18:07:12 -07:00
CBL-Mariner-Bot f79039fd17
kernel-hci: Add CVE-2023-32233 CVE-2023-32269 CVE-2023-2513 (#5552) 2023-05-22 19:07:36 -04:00
Adub17030MS bd0d0dc815
Upgrade cert-manager to v1.11.2 (#5513)
* updating to v1.11.2

* Fixing bogus date warning

* Removing patch for CVE-2023-25165 as it is patched in the upgrade

* Removing patch for CVE-2023-25165 as it is patched in the upgrade

* Updating prep section to work withouth patch

* Fixing linting error
2023-05-22 15:26:18 -07:00
Olivia Crain 16936a8b66
Fix dnf-plugins-core tests by using unittests runner (#5551) 2023-05-22 15:22:28 -07:00
AZaugg 7505eb51f0
Add ldap backend support into sudo (#5476)
* Add ldap support to sudo

ALlow ldap to be used to configure sudo

* Updated 1.8.15-4 of commit in change log

rpmlint was failing as date and day did not match up, correcting
day to pass rpmlint

* Address PR commnts

- Removing ldap path and defauting to default config path
- Changing openldap to openldap-devel
2023-05-22 13:09:43 -07:00
Dallas Delaney f9d9e096af
Upgrade moby-containerd-cc to 1.7.1 (#5546)
* Update moby-containerd-cc to 1.7.1 to fix unit test TestSnapshotterFromPodSandboxConfig
2023-05-22 12:13:41 -07:00
Olivia Crain 82b800966e
Remove zstd from package test exclusion list (#5545) 2023-05-22 11:14:58 -07:00
CBL-Mariner-Bot e7eba853e6
kernel-hci: Add CVE-2023-2248 CVE-2023-2177 CVE-2023-2008 CVE-2023-0458 CVE-2023-1382 CVE-2023-23005 CVE-2023-2006 CVE-2023-1998 CVE-2023-28327 CVE-2023-2235 CVE-2023-30772 CVE-2023-28328 CVE-2023-2019 CVE-2023-2162 CVE-2023-22997 CVE-2023-2166 CVE-2023-31436 CVE-2023-1872 CVE-2023-2194 (#5526) 2023-05-22 13:53:22 -04:00
Olivia Crain 0923e30d32
Fix ocaml-ppxlib tests failing due to ocaml-sexplib0-0.15.0 (#5541) 2023-05-22 08:41:32 -07:00
Olivia Crain 9c25531329
Fix python-pbr tests by pinning sphinx version used (#5542) 2023-05-22 08:40:28 -07:00