<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2023-0238</id>
    <title>An update for cjose is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2023-08-29 13:10:18"/>
    <updated date="2023-08-29 13:10:18"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-37464" id="CVE-2023-37464" title="CVE-2023-37464 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N" type="cve"/>
    </references>
    <description>Security Fix(es):

OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). The AES GCM decryption routine incorrectly uses the Tag length from the actual Authentication Tag provided in the JWE. The spec  says that a fixed length of 16 octets must be applied. Therefore this bug allows an attacker to provide a truncated Authentication Tag and to modify the JWE accordingly. Users should upgrade to a version &gt;= 0.6.2.2. Users unable to upgrade should avoid using AES GCM encryption and replace it with another encryption algorithm (e.g. AES CBC). (CVE-2023-37464)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="cjose">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="cjose" version="0.6.2.2" release="1.hce2">
          <filename>cjose-0.6.2.2-1.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="cjose-devel" version="0.6.2.2" release="1.hce2">
          <filename>cjose-devel-0.6.2.2-1.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="cjose" version="0.6.2.2" release="1.hce2">
          <filename>cjose-0.6.2.2-1.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="cjose-devel" version="0.6.2.2" release="1.hce2">
          <filename>cjose-devel-0.6.2.2-1.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
