Debian Package Tracker
Register | Log in
Subscribe

cjose

Choose email to subscribe with

general
  • source: cjose (main)
  • version: 0.6.2.8-1
  • maintainer: Moritz Schlarb (DMD)
  • uploaders: Christoph Martin [DMD]
  • arch: any
  • std-ver: 4.7.4
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 0.6.1+dfsg1-1+deb11u1
  • o-o-sec: 0.6.1+dfsg1-1+deb11u1
  • oldstable: 0.6.2.1-1+deb12u1
  • old-sec: 0.6.2.1-1+deb12u1
  • stable: 0.6.2.3-1
  • testing: 0.6.2.8-1
  • unstable: 0.6.2.8-1
versioned links
  • 0.6.1+dfsg1-1+deb11u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.6.2.1-1+deb12u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.6.2.3-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 0.6.2.8-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • libcjose-dev
  • libcjose0
action needed
2 security issues in trixie high

There are 2 open security issues in trixie.

2 important issues:
  • CVE-2026-53938: OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (`alg` = `A128KW`, `A192KW`, `A256KW`) does not validate the length of the attacker-supplied `encrypted_key` (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. `cjose_jwe_import()` / `cjose_jwe_decrypt()` are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.
  • CVE-2026-53939: OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
Created: 2026-09-12 Last update: 2026-09-12 13:32
2 security issues in bookworm high

There are 2 open security issues in bookworm.

2 important issues:
  • CVE-2026-53938: OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). Prior to version 0.6.2.5, cjose's JWE decryption path for the AES Key Wrap key-management algorithms (`alg` = `A128KW`, `A192KW`, `A256KW`) does not validate the length of the attacker-supplied `encrypted_key` (JWE Encrypted Key) before unwrapping it into a fixed-size, heap-allocated Content Encryption Key (CEK) buffer. A remote, unauthenticated attacker who can submit a crafted JWE to an application that decrypts it with an AES-KW symmetric key can trigger an out-of-bounds heap write, corrupting the heap. This leads at minimum to a crash (denial of service) and, depending on the heap layout and allocator, may be leverageable for further memory-corruption impact. `cjose_jwe_import()` / `cjose_jwe_decrypt()` are pre-authentication entry points: they parse and process fully attacker-controlled input. Upgrade to cjose 0.6.2.5 to receive a patch. If upgrading is not immediately possible, reject the AES Key Wrap algorithms (`A128KW`/`A192KW`/`A256KW`) for untrusted JWEs at the application layer.
  • CVE-2026-53939: OpenIDC/cjose is a C library implementing the Javascript Object Signing and Encryption (JOSE). In versions 0.6.1 through 0.6.2.5, when cjose encrypts a JWE using an AES-CBC-HMAC content-encryption algorithm (`A128CBC-HS256`, `A192CBC-HS384`, or `A256CBC-HS512`) together with any key-management algorithm that generates a fresh content-encryption key (CEK), the CEK is all zero bytes instead of being randomly generated. The resulting JWE is therefore encrypted and authenticated under a fixed, publicly known key, so anyone who obtains the JWE can recover the plaintext and forge or modify the content. This is fixed in version 0.6.2.6 by `_cjose_jwe_set_cek_aes_cbc()` generating the CEK from `RAND_bytes`. A regression test asserts that the `encrypted_key` differs across two encryptions for each AES-CBC-HMAC variant. Until upgrading, for data encrypted with cjose, three options are available. Use an AES-GCM `enc` (`A128GCM` / `A192GCM` / `A256GCM`) instead of an AES-CBC-HMAC `enc`, use `alg=dir` with a caller-supplied CEK, or avoid using cjose for JWE encryption with the affected algorithm pair. These are mitigations for new ciphertexts only; data already encrypted under the zero key remains compromised and should be re-encrypted (and any secrets it contained rotated).
Created: 2026-09-12 Last update: 2026-09-12 13:32
A new upstream version is available: 0.8.0 high
A new upstream version 0.8.0 is available, you should consider packaging it.
Created: 2026-09-12 Last update: 2026-09-12 11:32
Multiarch hinter reports 1 issue(s) normal
There are issues with the multiarch metadata for this package.
  • libcjose-dev could be marked Multi-Arch: same
Created: 2026-08-15 Last update: 2026-09-12 16:22
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-07-06 Last update: 2026-08-14 17:01
testing migrations
  • This package will soon be part of the auto-openssl transition. You might want to ensure that your package is ready for it. You can probably find supplementary information in the debian-release archives or in the corresponding release.debian.org bug.
news
[rss feed]
  • [2026-08-19] cjose 0.6.2.8-1 MIGRATED to testing (Debian testing watch)
  • [2026-08-14] Accepted cjose 0.6.2.8-1 (source) into unstable (Moritz Schlarb)
  • [2026-07-09] cjose 0.6.2.7-1 MIGRATED to testing (Debian testing watch)
  • [2026-07-06] Accepted cjose 0.6.2.7-1 (source) into unstable (Moritz Schlarb)
  • [2025-08-17] cjose 0.6.2.4-1 MIGRATED to testing (Debian testing watch)
  • [2025-08-12] Accepted cjose 0.6.2.4-1 (source) into unstable (Moritz Schlarb)
  • [2024-05-03] cjose 0.6.2.3-1 MIGRATED to testing (Debian testing watch)
  • [2024-05-03] cjose 0.6.2.3-1 MIGRATED to testing (Debian testing watch)
  • [2024-04-25] Accepted cjose 0.6.2.3-1 (source) into unstable (Moritz Schlarb)
  • [2023-08-12] Accepted cjose 0.6.1+dfsg1-1+deb11u1 (source) into oldstable-proposed-updates (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2023-08-12] Accepted cjose 0.6.2.1-1+deb12u1 (source) into proposed-updates (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2023-08-08] Accepted cjose 0.6.1+dfsg1-1+deb11u1 (source) into oldstable-security (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2023-08-08] Accepted cjose 0.6.2.1-1+deb12u1 (source) into stable-security (Debian FTP Masters) (signed by: Moritz Mühlenhoff)
  • [2023-08-03] Accepted cjose 0.6.1+dfsg1-1+deb10u1 (source) into oldoldstable (Guilhem Moulin)
  • [2023-07-28] cjose 0.6.2.2-1 MIGRATED to testing (Debian testing watch)
  • [2023-07-25] Accepted cjose 0.6.2.2-1 (source amd64) into unstable (Moritz Schlarb)
  • [2022-11-26] cjose 0.6.2.1-1 MIGRATED to testing (Debian testing watch)
  • [2022-11-24] Accepted cjose 0.6.2.1-1 (source) into unstable (Moritz Schlarb)
  • [2022-04-21] cjose 0.6.2-1 MIGRATED to testing (Debian testing watch)
  • [2022-04-19] Accepted cjose 0.6.2-1 (source) into unstable (Moritz Schlarb)
  • [2022-02-25] cjose 0.6.1+dfsg1-4 MIGRATED to testing (Debian testing watch)
  • [2022-02-23] Accepted cjose 0.6.1+dfsg1-4 (source) into unstable (Moritz Schlarb)
  • [2021-11-18] cjose 0.6.1+dfsg1-3 MIGRATED to testing (Debian testing watch)
  • [2021-11-16] Accepted cjose 0.6.1+dfsg1-3 (source) into unstable (Moritz Schlarb)
  • [2021-11-16] Accepted cjose 0.6.1+dfsg1-2 (source) into unstable (Moritz Schlarb)
  • [2018-08-09] cjose 0.6.1+dfsg1-1 MIGRATED to testing (Debian testing watch)
  • [2018-08-06] Accepted cjose 0.6.1+dfsg1-1 (source) into unstable (Moritz Schlarb)
  • [2018-08-03] Accepted cjose 0.6.0+dfsg1-2~exp2 (source) into experimental (Moritz Schlarb)
  • [2018-05-16] Accepted cjose 0.6.0+dfsg1-2~exp1 (source amd64) into experimental (Moritz Schlarb)
  • [2018-02-20] Accepted cjose 0.6.0+dfsg1-1 (source amd64) into unstable (Moritz Schlarb)
  • 1
  • 2
bugs [bug history graph]
  • all: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 0.6.2.4-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing