Closed
Description
Hi,
Discovered an issue in parsing timestamps in oauth jwts as 32 bit ints. This causes an overflow if tokens expire in > ~13 years.
That is obviously not a reasonable token validity period but will affect everyone in ~13 years :)
Thanks to Marko on slack for a very quick response. He found the relevant code here https://github.com/strimzi/strimzi-kafka-oauth/blob/main/oauth-common/src/main/java/io/strimzi/kafka/oauth/validator/JWTSignatureValidator.java#L475-L483
I think the same issue exists for parsing iat.
Metadata
Metadata
Assignees
Labels
No labels