[Medium] Patch kata-containers-cc for CVE-2025-4574 and CVE-2025-5791 - #13845
Conversation
Signed-off-by: Sreenivasulu Malavathula <v-smalavathu@microsoft.com>
|
|
||
| %prep | ||
| %autosetup -p1 -n %{sourceName}-%{version} | ||
| %autosetup -p1 -a1 -n %{sourceName}-%{version} |
There was a problem hiding this comment.
Could you please check it if you want to do source unpacking twice? -a1 will do source untar and then below again tar -xf %{SOURCE1} is done which will do decompress again. You may check and remove below one in case not needed. If that is not the case, then your CVE changes will be overwritten by below tar -xf, you may need to apply patch properly.
There was a problem hiding this comment.
ok, how to verify that it unpacking twice?. Here the logs I verified from the RPM log file. Here, the snapshot
Attached complete logs.
kata-containers-cc-3.15.0.aks0-2.azl3.src.rpm.log
Kindly let me know.
-Thanks.
There was a problem hiding this comment.
Fixed the issue.
There was a problem hiding this comment.
Committed new changes.
Signed-off-by: Sreenivasulu Malavathula <v-smalavathu@microsoft.com>
|
Will hold the PR for confirming if kata containers sources for the upcoming release already have the patches/does not include vulnerable code anymore. |
No plans to currently refresh the sources of this package. We should proceed with the PR fix, ensuring we do end-to-end testing. :) |
Thanks for update/ |
|
Requesting to close this PR since an alternate PR - /pull/14238 has been raised to resolve conflicts which are not solvable in this PR |
|
closing in favour of #14238 |

Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./LICENSES-AND-NOTICES/SPECS/data/licenses.json,./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md,./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
Patch kata-containers-cc for CVE-2025-4574 and CVE-2025-5791
CVE-2025-4574
Astrolabe patch reference: crossbeam-rs/crossbeam@ca3fc0d
Upstream Patch applied successfully.
CVE-2025-5791
Astrolabe patch reference: rustadopt/uzers-rs@ac667c8
Upstream Patch applied successfully.
Change Log
Does this affect the toolchain?
NO
Associated issues
Links to CVEs
Test Methodology