UBUNTU-CVE-2023-37464

Source
https://ubuntu.com/security/CVE-2023-37464
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-37464.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-37464
Related
Published
2023-07-14T21:15:00Z
Modified
2024-10-15T14:11:38Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Ubuntu:Pro:18.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.0+dfsg1-1ubuntu0.1~esm1

Affected versions

0.*

0.4.1-3ubuntu1
0.5.1+dfsg1-1
0.5.1+dfsg1-2
0.5.1+dfsg1-2build1
0.6.0+dfsg1-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.6.0+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "libcjose-dev"
        },
        {
            "binary_version": "0.6.0+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "libcjose0"
        },
        {
            "binary_version": "0.6.0+dfsg1-1ubuntu0.1~esm1",
            "binary_name": "libcjose0-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.1+dfsg1-1ubuntu0.1

Affected versions

0.*

0.6.1+dfsg1-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.6.1+dfsg1-1ubuntu0.1",
            "binary_name": "libcjose-dev"
        },
        {
            "binary_version": "0.6.1+dfsg1-1ubuntu0.1",
            "binary_name": "libcjose0"
        },
        {
            "binary_version": "0.6.1+dfsg1-1ubuntu0.1",
            "binary_name": "libcjose0-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.1+dfsg1-3ubuntu1.1

Affected versions

0.*

0.6.1+dfsg1-1
0.6.1+dfsg1-3
0.6.1+dfsg1-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.6.1+dfsg1-3ubuntu1.1",
            "binary_name": "libcjose-dev"
        },
        {
            "binary_version": "0.6.1+dfsg1-3ubuntu1.1",
            "binary_name": "libcjose0"
        },
        {
            "binary_version": "0.6.1+dfsg1-3ubuntu1.1",
            "binary_name": "libcjose0-dbgsym"
        }
    ]
}

Ubuntu:24.10 / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.6.2.2-1build3
0.6.2.3-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / cjose

Package

Name
cjose
Purl
pkg:deb/ubuntu/cjose?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.6.2.2-1
0.6.2.2-1build1
0.6.2.2-1build2
0.6.2.2-1build3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}