@fastify/jwt 是 Fastify Web 框架的一个 JSON Web Token (JWT) 插件。在版本 10.2.3 之前,如果传入 expiresIn、notBefore 或 maxAge 参数的时间跨度格式为该插件解析器无法识别(例如复合时间跨度、以月为单位的时间、ISO 8601 持续时间格式、包含小数逗号或前后带有空格的数值等),插件不会拒绝该值,而是静默地将其丢弃。在签名(生成令牌)过程中,这会导致生成的令牌不包含过期声明,从而永不过期;在验证过程中,则会导致配置的 maxAge 限制失
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| @fastify/jwt | @fastify/jwt | < 10.2.3 |
affected |
10.2.3 |
unaffected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| @fastify/jwt | @fastify/jwt | 0 ~ 10.2.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet