Hono: Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, improper validation of the JWT NumericDate claims exp, nbf, and iat in hono/utils/jwt allows tokens with non-spec-compliant claim values to silently bypass time-based checks. This issue is not exploitable by an anonymous attacker; it only manifests when a malformed claim value reaches verify() — typically when the application itself issues such tokens, or when the signing key is otherwise under attacker control. This vulnerability is fixed in 4.12.18.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-1284 | CWE-1284: Improper Validation of Specified Quantity in Input |
Type: CWE
Description: CWE-1284: Improper Validation of Specified Quantity in Input
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.1 | 3.8 | LOW | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Version: 3.1
Base score: 3.8
Base severity: LOW
Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N