<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for rage-encryption</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2023:4060-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2023-10-12T08:05:57Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2023-10-12T08:05:57Z</InitialReleaseDate>
    <CurrentReleaseDate>2023-10-12T08:05:57Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for rage-encryption</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rage-encryption fixes the following issues:

 -CVE-2023-42811: chosen ciphertext attack possible against aes-gcm (bsc#1215657)

  * update vendor.tar.zst to contain aes-gcm &gt;= 0.10.3

- Update to version 0.9.2+0:

  * CI: Ensure `apt` repository is up-to-date before installing build deps
  * CI: Build Linux releases using `ubuntu-20.04` runner
  * CI: Remove most uses of `actions-rs` actions

- Update to version 0.9.2+0:

  * Fix changelog bugs and add missing entry
  * Document `PINENTRY_PROGRAM` environment variable
  * age: Add `Decryptor::new_async_buffered`
  * age: `impl AsyncBufRead for ArmoredReader`
  * Pre-initialize vectors when the capacity is known, or use arrays
  * Use `PINENTRY_PROGRAM` as environment variable for `pinentry`
  * Document why `impl AsyncWrite for StreamWriter` doesn't loop indefinitely
  * cargo update
  * cargo vet prune
  * Migrate to `cargo-vet 0.7`
  * build(deps): bump svenstaro/upload-release-action from 2.5.0 to 2.6.1
  * Correct spelling in documentation
  * build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.4
  * StreamWriter AsyncWrite: fix usage with futures::io::copy()
  * rage: Use `Decryptor::new_buffered`
  * age: Add `Decryptor::new_buffered`
  * age: `impl BufRead for ArmoredReader`
  * Update Homebrew formula to v0.9.1
  * feat/pinentry: Use env var to define pinentry binary

- Update to version 0.9.1+0:

  * ssh: Fix parsing of OpenSSH private key format
  * ssh: Support `aes256-gcm@openssh.com` ciphers for encrypted keys
  * ssh: Add `aes256-gcm@openssh.com` cipher to test cases
  * ssh: Extract common key material derivation logic for encrypted keys
  * ssh: Use associated constants for key and IV sizes
  * ssh: Add test cases for encrypted keys
- Add shell completions for fish and zsh.
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2023-4060,SUSE-SLE-Module-Basesystem-15-SP5-2023-4060,openSUSE-SLE-15.5-2023-4060</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2023/suse-su-20234060-1/</URL>
      <Description>Link for SUSE-SU-2023:4060-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2023-October/016645.html</URL>
      <Description>E-Mail link for SUSE-SU-2023:4060-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1215657</URL>
      <Description>SUSE Bug 1215657</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2023-42811/</URL>
      <Description>SUSE CVE CVE-2023-42811 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Basesystem 15 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5" CPE="cpe:/o:suse:sle-module-basesystem:15:sp5">SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Leap 15.5">
      <Branch Type="Product Name" Name="openSUSE Leap 15.5">
        <FullProductName ProductID="openSUSE Leap 15.5" CPE="cpe:/o:opensuse:leap:15.5">openSUSE Leap 15.5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-0.9.2+0-150500.3.3.1">
      <FullProductName ProductID="rage-encryption-0.9.2+0-150500.3.3.1">rage-encryption-0.9.2+0-150500.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-bash-completion-0.9.2+0-150500.3.3.1">
      <FullProductName ProductID="rage-encryption-bash-completion-0.9.2+0-150500.3.3.1">rage-encryption-bash-completion-0.9.2+0-150500.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-fish-completion-0.9.2+0-150500.3.3.1">
      <FullProductName ProductID="rage-encryption-fish-completion-0.9.2+0-150500.3.3.1">rage-encryption-fish-completion-0.9.2+0-150500.3.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="rage-encryption-zsh-completion-0.9.2+0-150500.3.3.1">
      <FullProductName ProductID="rage-encryption-zsh-completion-0.9.2+0-150500.3.3.1">rage-encryption-zsh-completion-0.9.2+0-150500.3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="rage-encryption-0.9.2+0-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-0.9.2+0-150500.3.3.1">rage-encryption-0.9.2+0-150500.3.3.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.9.2+0-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Basesystem 15 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-bash-completion-0.9.2+0-150500.3.3.1">rage-encryption-bash-completion-0.9.2+0-150500.3.3.1 as a component of SUSE Linux Enterprise Module for Basesystem 15 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-0.9.2+0-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rage-encryption-0.9.2+0-150500.3.3.1">rage-encryption-0.9.2+0-150500.3.3.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
    <Relationship ProductReference="rage-encryption-bash-completion-0.9.2+0-150500.3.3.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 15.5">
      <FullProductName ProductID="openSUSE Leap 15.5:rage-encryption-bash-completion-0.9.2+0-150500.3.3.1">rage-encryption-bash-completion-0.9.2+0-150500.3.3.1 as a component of openSUSE Leap 15.5</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">aes-gcm is a pure Rust implementation of the AES-GCM. Starting in version 0.10.0 and prior to version 0.10.3, in the AES GCM implementation of decrypt_in_place_detached, the decrypted ciphertext (i.e. the correct plaintext) is exposed even if tag verification fails. If a program using the `aes-gcm` crate's `decrypt_in_place*` APIs accesses the buffer after decryption failure, it will contain a decryption of an unauthenticated input. Depending on the specific nature of the program this may enable Chosen Ciphertext Attacks (CCAs) which can cause a catastrophic breakage of the cipher including full plaintext recovery. Version 0.10.3 contains a fix for this issue.</Note>
    </Notes>
    <CVE>CVE-2023-42811</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-0.9.2+0-150500.3.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Basesystem 15 SP5:rage-encryption-bash-completion-0.9.2+0-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rage-encryption-0.9.2+0-150500.3.3.1</ProductID>
        <ProductID>openSUSE Leap 15.5:rage-encryption-bash-completion-0.9.2+0-150500.3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2023/suse-su-20234060-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2023-42811.html</URL>
        <Description>CVE-2023-42811</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1215654</URL>
        <Description>SUSE Bug 1215654</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
