p PatchFirst

CVE-2023-37464

CVE-2023-37464 · Incorrect Authentication Tag length usage in AES GCM decryption in OpenIDC/cjose

CVSS 8.6 · High · EPSS 0.8% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • cjoseNo fix published
  • cjose Alpine 3.19Update to 0.6.2.2-r0
  • cjose Alpine 3.20Update to 0.6.2.2-r0
  • cjose Alpine 3.21Update to 0.6.2.2-r0
  • and 13 more

Check the installed version:

apk list -I -o cjose

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 >= 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).

Published
Updated

Fixes in distributions

  • RHSA-2023:4429 · Red Hat rhel e4s 8.1 appstream ·
  • RHSA-2023:4417 · Red Hat rhel eus 9.0 appstream ·
  • RHSA-2023:4418 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2023:4411 · Red Hat Enterprise Linux 9 appstream ·
  • RHSA-2023:4410 · Red Hat rhel aus 8.2 appstream, Red Hat rhel e4s 8.2 appstream, Red Hat rhel tus 8.2 appstream ·
  • RHSA-2023:4409 · Red Hat rhel aus 8.4 appstream, Red Hat rhel e4s 8.4 appstream, Red Hat rhel tus 8.4 appstream ·
  • RHSA-2023:4408 · Red Hat rhel eus 8.6 appstream ·
  • USN-6307-1 · Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu Pro 18.04 LTS ·
  • SUSE-SU-2023:3230-1 · openSUSE Leap 15.4, openSUSE Leap 15.5, SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS, SUSE Linux Enterprise Module for Server Applications 15 SP4, SUSE Linux Enterprise Module for Server Applications 15 SP5, SUSE Linux Enterprise Real Time 15 SP3, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server 15 SP3-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Linux Enterprise Server for SAP Applications 15 SP3, SUSE Manager Proxy 4.2, SUSE Manager Server 4.2 ·
  • RLSA-2023:4418 · Rocky Linux 8 ·
  • DSA-5472-1 · Debian 11, Debian 12 ·
  • DLA-3515-1 · Debian 10 ·
  • ALSA-2023:4411 · AlmaLinux 9 ·
  • ALSA-2023:4418 · AlmaLinux 8 ·
  • SUSE-SU-2023:3030-1 · SUSE Linux Enterprise Server 12 SP4-ESPOS, SUSE Linux Enterprise Server 12 SP4-LTSS, SUSE Linux Enterprise Server 12 SP5, SUSE Linux Enterprise Server for SAP Applications 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP5, SUSE OpenStack Cloud 9, SUSE OpenStack Cloud Crowbar 9 ·

Stack: system

Affected products and versions

  • cjose

    Versions
    • < 0.6.2.2: Affected

    No fix published

  • cjose Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-r0

    Update to 0.6.2.2-r0

  • cjose Debian 12

    Versions
    • 0.6.2.1-1
    Affected ranges
    • ECOSYSTEM: < 0.6.2.1-1+deb12u1

    Update to 0.6.2.1-1+deb12u1

  • cjose Debian 13

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-1

    Update to 0.6.2.2-1

  • cjose Debian 14

    Affected ranges
    • ECOSYSTEM: < 0.6.2.2-1

    Update to 0.6.2.2-1

  • cjose Ubuntu Pro 18.04 LTS

    Versions
    • 0.4.1-3ubuntu1
    • 0.5.1+dfsg1-1
    • 0.5.1+dfsg1-2
    • 0.5.1+dfsg1-2build1
    • 0.6.0+dfsg1-1
    Affected ranges
    • ECOSYSTEM: < 0.6.0+dfsg1-1ubuntu0.1~esm1

    Update to 0.6.0+dfsg1-1ubuntu0.1~esm1

  • cjose Ubuntu 20.04 LTS

    Versions
    • 0.6.1+dfsg1-1
    Affected ranges
    • ECOSYSTEM: < 0.6.1+dfsg1-1ubuntu0.1

    Update to 0.6.1+dfsg1-1ubuntu0.1

  • cjose Ubuntu 22.04 LTS

    Versions
    • 0.6.1+dfsg1-1
    • 0.6.1+dfsg1-3
    • 0.6.1+dfsg1-3ubuntu1
    Affected ranges
    • ECOSYSTEM: < 0.6.1+dfsg1-3ubuntu1.1

    Update to 0.6.1+dfsg1-3ubuntu1.1

  • cjose Ubuntu 24.04 LTS

    Versions
    • 0.6.2.2-1
    • 0.6.2.2-1build1
    • 0.6.2.2-1build2
    • 0.6.2.2-1build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjose Ubuntu 25.10

    Versions
    • 0.6.2.3-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjose Ubuntu 26.10

    Versions
    • 0.6.2.4-1
    • 0.6.2.8-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • cjose Ubuntu 26.04 LTS

    Versions
    • 0.6.2.3-1
    • 0.6.2.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →