> CVE-2022-36083 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2022-09-07 22:15
MODIFIED
2024-11-21 07:12
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
1.64%
Top 23.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

JOSE is "JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno. The PBKDF2-based JWE key management algorithms expect a JOSE Header Parameter named `p2c` PBES2 Count, which determines how many PBKDF2 iterations must be executed in order to derive a CEK wrapping key. The purpose of this parameter is to intentionally slow down the key derivation function in order to make password brute-force and dictionary attacks more expensive. This makes the PBES2 algorithms unsuitable for situations where the JWE is coming from an untrusted source: an adversary can intentionally pick an extremely high PBES2 Count value, that will initiate a CPU-bound computation that may take an unreasonable amount of time to finish. Under certain conditions, it is possible to have the user's environment consume unreasonable amount of CPU time. The impact is limited only to users utilizing the JWE decryption APIs with symmetric secrets to decrypt JWEs from untrusted parties who do not limit the accepted JWE Key Management Algorithms (`alg` Header Parameter) using the `keyManagementAlgorithms` (or `algorithms` in v1.x) decryption option or through other means. The `v1.28.2`, `v2.0.6`, `v3.20.4`, and `v4.9.2` releases limit the maximum PBKDF2 iteration count to `10000` by default. It is possible to adjust this limit with a newly introduced `maxPBES2Count` decryption option. If users are unable to upgrade their required library version, they have two options depending on whether they expect to receive JWEs using any of the three PBKDF2-based JWE key management algorithms. They can use the `keyManagementAlgorithms` decryption option to disable accepting PBKDF2 altogether, or they can inspect the JOSE Header prior to using the decryption API and limit the PBKDF2 iteration count (`p2c` Header Parameter).

> AFFECTED_PRODUCTS

Jose Project - Jose
>= 1.0.0 < 1.28.2
Jose Project - Jose
>= 2.0.0 < 2.0.6
Jose Project - Jose
>= 3.0.0 < 3.20.4
Jose Project - Jose
>= 4.0.0 < 4.9.2

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-jv3g-j58f-9mq9 MODERATE

JOSE vulnerable to resource exhaustion via specifically crafted JWE

AFFECTED PACKAGES:
NPM / jose-node-esm-runtime
>= 4.0.0, <= 4.9.1
Fixed in: 4.9.2
NPM / jose-node-cjs-runtime
>= 4.0.0, <= 4.9.1
Fixed in: 4.9.2
NPM / jose-browser-runtime
>= 4.0.0, <= 4.9.1
Fixed in: 4.9.2
NPM / jose
>= 4.0.0, <= 4.9.1
Fixed in: 4.9.2
NPM / jose
>= 3.0.0, <= 3.20.3
Fixed in: 3.20.4
NPM / jose
>= 2.0.0, <= 2.0.5
Fixed in: 2.0.6
NPM / jose-node-esm-runtime
>= 3.0.0, <= 3.20.3
Fixed in: 3.20.4
NPM / jose-node-cjs-runtime
>= 3.0.0, <= 3.20.3
Fixed in: 3.20.4
NPM / jose-browser-runtime
>= 3.0.0, <= 3.20.3
Fixed in: 3.20.4
NPM / jose
>= 1.0.0, <= 1.28.1
Fixed in: 1.28.2

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

JOSE vulnerable to resource exhaustion via specifically crafted JWE

AFFECTED PACKAGES:
Unknown / Unknown
153 versions affected
ALIASES:
GHSA-jv3g-j58f-9mq9

> HISTORIQUE DES MODIFICATIONS

Première apparition
07/09/2022 22:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:35
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME