web-token jwt-framework before 3.4.10 RSA1_5 Bleichenbacher Padding Oracle
NIST has received this entry but not started reviewing it.
web-token jwt-framework and jwt-library before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a padding oracle in RSACrypt::decryptWithRSA15() because RSA1_5 decryption lacks implicit rejection, so invalid padding, wrong CEK length, and valid padding take measurably different time. Remote attackers can submit adaptively crafted JWE encrypted_key values and measure these timing differences to recover the wrapped content encryption key.
Observable Timing Discrepancy CWE-208
Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 6 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 3.3.0, before 3.4.10 | 3.4.10 |
| Web-token Jwt-library | Software | from 4.0.0, before 4.0.7 | 4.0.7 |
| Web-token Jwt-library | Software | from 4.1.0, before 4.1.7 | 4.1.7 |
| Web-token Jwt-framework | Software | from 0, before 3.4.10 | 3.4.10 |
| Web-token Jwt-framework | Software | from 4.0.0, before 4.0.7 | 4.0.7 |
| Web-token Jwt-framework | Software | from 4.1.0, before 4.1.7 | 4.1.7 |
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 | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | None | The service keeps running. |
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.