JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| vapor | jwt-kit | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Vapor | Jwt-kit |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-pfgx-7g34-46fm | JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.224% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Vapor
Vapor jwt-kit |
|
| Vendors & Products |
Vapor
Vapor jwt-kit |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | JWTKit is a Swift library for signing and verifying JSON Web Tokens. Prior to 5.8.0, X5CVerifier.verifyJWS() in Sources/JWTKit/X5C/X5CVerifier.swift reads ValidationTimePayload.signedDate, defined in Sources/JWTKit/X5C/ValidationTimePayload.swift, from the token payload before verifying the JWS signature. The verifier uses that unauthenticated date as fixedExpiryValidationTime for X.509 certificate validation. An attacker possessing the private key of an expired, previously trusted certificate can backdate the value and cause newly signed tokens to be accepted despite certificate expiration. This issue is fixed in version 5.8.0. | |
| Title | JWTKit: X.509 validation time controlled by unauthenticated JWT payload (certificate expiration bypass) | |
| Weaknesses | CWE-345 | |
| References |
| |
| Metrics |
cvssV3_1
|
Insufficient Verification of Data Authenticity