USN-9075-2: libjwt regression
USN-9075-1 fixed a vulnerability in libjwt. Unfortunately, the update built the OpenSSL version of libjwt with the wrong library name, which caused applications using it to fail to start. The update also left the fix for CVE-2024-25189 incomplete in that version. This update fixes the problems.
We apologize for the inconvenience.
Original advisory details:
It was discovered that libjwt did not use a constant-time comparison when verifying HMAC signatures. A remote attacker could possibly use this issue to forge signatures through a timing side-channel attack and bypass authentication.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libjwtto a version that resolves this vulnerability.Fixed in 1.10.2-1ubuntu0.20.04.1~esm2 - Upgrade
Upgrade
ubuntu/libjwtto a version that resolves this vulnerability.Fixed in 1.10.2-1ubuntu0.22.04.1~esm2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch USN-9075-1
Event History
Frequently Asked Questions
Which deployments were affected by the regression in the earlier update?
Applications using the OpenSSL version of libjwt could fail to start because it was built with the wrong library name. That version also had an incomplete fix for CVE-2024-25189.
What would an attacker need to exploit the underlying security issue?
A remote attacker would need to exploit timing differences while HMAC signatures are being verified. Successful exploitation could allow signature forgery and authentication bypass.
What should be done to address both the startup regression and incomplete security fix?
Apply this update, which fixes the incorrect OpenSSL library name and completes the fix for CVE-2024-25189.