CVE-2023-37464

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-37464
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-37464.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-37464
Aliases
  • GHSA-3rhg-3gf2-6xgj
Related
Published
2023-07-14T21:15:08Z
Modified
2024-09-18T03:24:05.100686Z
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

Debian:11 / cjose

Package

Name
cjose
Purl
pkg:deb/debian/cjose?arch=source

Affected ranges

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

Affected versions

0.*

0.6.1+dfsg1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / cjose

Package

Name
cjose
Purl
pkg:deb/debian/cjose?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.2.1-1+deb12u1

Affected versions

0.*

0.6.2.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / cjose

Package

Name
cjose
Purl
pkg:deb/debian/cjose?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.2.2-1

Affected versions

0.*

0.6.2.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/openidc/cjose

Affected ranges

Type
GIT
Repo
https://github.com/openidc/cjose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.2
0.2.0
0.3.0
0.4.0
0.4.1
0.5.0
0.5.1
0.6.0
0.6.1

Other

latest

v0.*

v0.6.2
v0.6.2.1