Web-token jwt-framework before 3.4.13 DoS via JWE/JWS Multiple Recipients
NIST has received this entry but not started reviewing it.
web-token jwt-framework before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 allows denial of service because JWELoader and JWSLoader try every recipient or signature of a JSON General serialized token without limiting their number. Unauthenticated attackers can send a small JWE with many empty recipients inheriting a maximal PBES2 p2c value, forcing repeated key derivations that exhaust worker CPU.
Uncontrolled Resource Consumption CWE-400
An attacker can make the software use up memory, disk or processing power until it stops working.
The product does not properly control the allocation and maintenance of a limited resource.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 4 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Web-token Jwt-library | Software | from 0, before 3.4.13; from 4.0.0, before 4.0.9; from 4.1.0, before 4.1.11; from 4.2.0, before 4.2.6 | 3.4.13; 4.0.9; 4.1.11; 4.2.6 |
| Web-token Jwt-framework | Software | from 0.5.0, before 3.4.13; from 4.0.0, before 4.0.9; from 4.1.0, before 4.1.11; from 4.2.0, before 4.2.6 | 3.4.13; 4.0.9; 4.1.11; 4.2.6 |
| Web-token Jwt-encryption | Software | from 0.5.0, up to and including 3.2.10 | not recorded |
| Web-token Jwt-signature | Software | from 0.5.0, up to and including 3.2.10 | not recorded |
The 8.2 severity score (high) from vulncheck.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | None | The attacker does not need an account or password. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
NIST lists 2 sources for this flaw, none tagged as a vendor patch.