<div class="container">
<h1>Security update for cosign</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-SU-2024:0430-1</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1218207">bsc#1218207</a>
</li>
<li style="display: inline;">
<a href="https://jira.suse.com/browse/SLE-23879">jsc#SLE-23879</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>
Cross-References:
</th>
<td>
<ul>
<li style="display: inline;">
<a href="https://www.suse.com/security/cve/CVE-2023-48795.html">CVE-2023-48795</a>
</li>
</ul>
</td>
</tr>
<tr>
<th>CVSS scores:</th>
<td>
<ul class="list-group">
<li class="list-group-item">
<span class="cvss-reference">CVE-2023-48795</span>
<span class="cvss-source">
(
SUSE
):
</span>
<span class="cvss-score">5.9</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N</span>
</li>
<li class="list-group-item">
<span class="cvss-reference">CVE-2023-48795</span>
<span class="cvss-source">
(
NVD
):
</span>
<span class="cvss-score">5.9</span>
<span class="cvss-vector">CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N</span>
</li>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">Basesystem Module 15-SP5</li>
<li class="list-group-item">openSUSE Leap 15.4</li>
<li class="list-group-item">openSUSE Leap 15.5</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP5</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP5</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that solves one vulnerability and contains one feature can now be installed.</p>
<h2>Description:</h2>
<p>This update for cosign fixes the following issues:</p>
<p>Updated to 2.2.3 (jsc#SLE-23879):</p>
<p>Bug Fixes:</p>
<ul>
<li>Fix race condition on verification with multiple signatures attached to image (#3486)</li>
<li>fix(clean): Fix clean cmd for private registries (#3446)</li>
<li>Fixed BYO PKI verification (#3427)</li>
</ul>
<p>Features:</p>
<ul>
<li>Allow for option in cosign attest and attest-blob to upload attestation as supported in Rekor (#3466)</li>
<li>Add support for OpenVEX predicate type (#3405)</li>
</ul>
<p>Documentation:</p>
<ul>
<li>Resolves #3088: <code>version</code> sub-command expected behaviour documentation and testing (#3447)</li>
<li>add examples for cosign attach signature cmd (#3468)</li>
</ul>
<p>Misc:</p>
<ul>
<li>Remove CertSubject function (#3467)</li>
<li>
<p>Use local rekor and fulcio instances in e2e tests (#3478)</p>
</li>
<li>
<p>bumped embedded golang.org/x/crypto/ssh to fix the Terrapin attack CVE-2023-48795 (bsc#1218207)</p>
</li>
</ul>
<p>Updated to 2.2.2 (jsc#SLE-23879):</p>
<p>v2.2.2 adds a new container with a shell,
gcr.io/projectsigstore/cosign:vx.y.z-dev, in addition to the existing
container gcr.io/projectsigstore/cosign:vx.y.z without a shell.</p>
<p>For private deployments, we have also added an alias for
--insecure-skip-log, --private-infrastructure.</p>
<p>Bug Fixes:</p>
<ul>
<li>chore(deps): bump github.com/sigstore/sigstore from 1.7.5 to 1.7.6 (#3411) which fixes a bug with using Azure KMS</li>
<li>Don't require CT log keys if using a key/sk (#3415)</li>
<li>Fix copy without any flag set (#3409)</li>
<li>Update cosign generate cmd to not include newline (#3393)</li>
<li>Fix idempotency error with signing (#3371)</li>
</ul>
<p>Features:</p>
<ul>
<li>Add --yes flag cosign import-key-pair to skip the overwrite confirmation. (#3383)</li>
<li>Use the timeout flag value in verify* commands. (#3391)</li>
<li>add --private-infrastructure flag (#3369)</li>
</ul>
<p>Container Updates:</p>
<ul>
<li>Bump builder image to use go1.21.4 and add new cosign image tags with shell (#3373)</li>
</ul>
<p>Documentation:</p>
<ul>
<li>
<p>Update SBOM_SPEC.md (#3358)</p>
</li>
<li>
<p>CVE-2023-48795: Fixed the Terrapin attack in embedded golang.org/x/crypto/ssh (bsc#1218207).</p>
</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
Basesystem Module 15-SP5
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP5-2024-430=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.4
<br/>
<code>zypper in -t patch SUSE-2024-430=1</code>
</li>
<li class="list-group-item">
openSUSE Leap 15.5
<br/>
<code>zypper in -t patch openSUSE-SLE-15.5-2024-430=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
Basesystem Module 15-SP5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>cosign-2.2.3-150400.3.17.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586)
<ul>
<li>cosign-debuginfo-2.2.3-150400.3.17.1</li>
<li>cosign-2.2.3-150400.3.17.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
<ul>
<li>cosign-2.2.3-150400.3.17.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://www.suse.com/security/cve/CVE-2023-48795.html">https://www.suse.com/security/cve/CVE-2023-48795.html</a>
</li>
<li>
<a href="https://bugzilla.suse.com/show_bug.cgi?id=1218207">https://bugzilla.suse.com/show_bug.cgi?id=1218207</a>
</li>
<li>
<a href="https://jira.suse.com/browse/SLE-23879">https://jira.suse.com/browse/SLE-23879</a>
</li>
</ul>
</div>