CVE-2024-25189
libjwt 1.15.3 uses strcmp (which is not constant time) to verify authe ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
Description
libjwt 1.15.3 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass authentication via a timing side channel.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 10 | libjwt | 1.10.1-1+deb10u1 |
| debian 11 | libjwt | 1.10.2-1+deb11u1 |
| debian 12 | libjwt | 1.10.2-1+deb12u1 |
| debian 13 | libjwt | 1.17.0-2 |
| debian 14 | libjwt | 1.17.0-2 |
| echo | libjwt | 1.10.2-1+deb12u1 |
| ubuntu 18.04-ESM | libjwt | no fix listed |
| ubuntu 20.04-ESM | libjwt | no fix listed |
| ubuntu 22.04 | libjwt | no fix listed |
References
- https://github.com/P3ngu1nW/CVE_Request/blob/main/benmcollins:libjwt.md
- https://github.com/benmcollins/libjwt/commit/a5d61ef4f1b383876e0a78534383f38159471fd6
- https://github.com/benmcollins/libjwt/commit/f73bac57c5bece16ac24f1a70022aa34355fc1bf
- https://lists.debian.org/debian-lts-announce/2024/02/msg00009.html
- https://www.cve.org/CVERecord?id=CVE-2024-25189