The jwt_verify_sha_hmac function of jwt-wincrypt.c implements the function of comparing the HS256 algorithm signature. However, the function uses strcmp to compare the calculated signature with the JWT signature we provided, and strcmp is not a time-safe comparison function. Affected version: 1.15.3 References: https://github.com/P3ngu1nW/CVE_Request/blob/main/benmcollins%3Alibjwt.md https://github.com/benmcollins/libjwt/blob/323fb1c76f435b2d0d57f992ffa2a6cdc0d9f397/libjwt/jwt-wincrypt.c#L627 https://nvd.nist.gov/vuln/detail/CVE-2024-25189
Created libjwt tracking bugs for this issue: Affects: epel-all [bug 2263420] Affects: fedora-all [bug 2263419]