#VU69615 Resource exhaustion in jose


Published: 2022-11-25

Vulnerability identifier: #VU69615

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-36083

CWE-ID: CWE-400

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jose
Web applications / JS libraries

Vendor: Filip Skokan

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the way application handles untrusted JWE tokens A remote attacker can trigger pass the PBKDF2-based JWE key with an extremely high PBES2 Count value and consume significant amount of CPU time, resulting in a denial of service conditions.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jose: 4.9.0 - 4.9.1, 4.8.0 - 4.8.3, 4.7.0, 4.6.0 - 4.6.2, 4.5.0 - 4.5.3, 4.4.0, 4.3.0 - 4.3.9, 4.2.0 - 4.2.1, 4.1.0 - 4.1.5, 4.0.0 - 4.0.4, 3.20.0 - 3.20.3, 3.19.0, 3.18.0, 3.17.0, 3.16.0 - 3.16.1, 3.15.3 - 3.15.5, 3.14.0 - 3.14.4, 3.13.0, 3.12.0 - 3.12.3, 3.11.0 - 3.11.6, 3.10.0, 3.9.0, 3.8.0, 3.7.0 - 3.7.1, 3.6.0 - 3.6.2, 3.5.0 - 3.5.4, 3.4.0, 3.3.0 - 3.3.2, 3.2.0, 3.1.0 - 3.1.3, 3.0.0 - 3.0.2, 2.0.0 - 2.0.5, 1.28.0 - 1.28.1, 1.27.0 - 1.27.3, 1.26.0 - 1.26.1, 1.25.0 - 1.25.2, 1.24.0 - 1.24.1, 1.23.0, 1.22.0 - 1.22.2, 1.21.0 - 1.21.1, 1.20.0, 1.19.0, 1.18.0 - 1.18.2, 1.17.0 - 1.17.2, 1.16.0 - 1.16.2, 1.15.0 - 1.15.1, 1.14.0, 1.13.0, 1.12.0 - 1.12.1, 1.11.0, 1.10.0 - 1.10.2, 1.9.0 - 1.9.2, 1.8.0, 1.7.0, 1.6.0 - 1.6.1, 1.5.0 - 1.5.2, 1.4.0 - 1.4.1, 1.3.0, 1.0.0 - 1.0.2


External links
http://github.com/panva/jose/security/advisories/GHSA-jv3g-j58f-9mq9
http://github.com/panva/jose/commit/03d6d013bf6e070e85adfe5731f526978e3e8e4d
http://github.com/panva/jose/releases/tag/v4.9.2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability