*** This bug is a security vulnerability ***
Public security bug reported:
The libjwt security update published in USN-9075-1
(1.10.2-1ubuntu0.20.04.1~esm1 for Ubuntu 20.04 LTS and
1.10.2-1ubuntu0.22.04.1~esm1 for Ubuntu 22.04 LTS) built the OpenSSL
flavour of the library incorrectly.
debian/rules builds the OpenSSL flavour by removing the last patch in
debian/patches/series with "quilt pop", expecting it to be
zzz-gnutls-soname.patch. The update appended CVE-2024-25189-1.patch and
CVE-2024-25189-2.patch after that patch, below the "# do not add patches
below" marker, so "quilt pop" removed CVE-2024-25189-2.patch instead.
As a result:
* libjwt0 ships libjwt-gnutls.so.0 instead of libjwt.so.0, so programs
and plugins linked against libjwt.so.0 fail to load after the upgrade,
for example auth_jwt.so from slurm-wlm-basic-plugins on 22.04 and
glewlwyd on 20.04.
* libjwt-dev ships libjwt-gnutls.so instead of libjwt.so, so linking with
-ljwt fails.
* The OpenSSL flavour was built without CVE-2024-25189-2.patch.
The GnuTLS flavour (libjwt-gnutls0, libjwt-gnutls-dev) is not affected.
Ubuntu 18.04 LTS (1.9.0) has no GnuTLS flavour and is not affected.
Steps to reproduce on Ubuntu 22.04 LTS:
1. apt install slurm-wlm-basic-plugins
2. Upgrade libjwt0 to 1.10.2-1ubuntu0.22.04.1~esm1
3. ldd /usr/lib/x86_64-linux-gnu/slurm-wlm/auth_jwt.so
-> libjwt.so.0 => not found
Fix:
1.10.2-1ubuntu0.20.04.1~esm2 and 1.10.2-1ubuntu0.22.04.1~esm2 move the
CVE-2024-25189 patches above the marker, so zzz-gnutls-soname.patch is
the last patch again. libjwt0 provides libjwt.so.0 and libjwt-dev provides
libjwt.so again, and both flavours include both CVE-2024-25189 patches.
** Affects: libjwt (Ubuntu)
Importance: Medium
Status: Fix Released
** Affects: libjwt (Ubuntu Focal)
Importance: Medium
Status: Fix Released
** Affects: libjwt (Ubuntu Jammy)
Importance: Medium
Status: Fix Released
** Also affects: libjwt (Ubuntu Jammy)
Importance: Undecided
Status: New
** Also affects: libjwt (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: libjwt (Ubuntu Focal)
Status: New => Fix Released
** Changed in: libjwt (Ubuntu Jammy)
Status: New => Fix Released
** Changed in: libjwt (Ubuntu)
Status: New => Fix Released
** Changed in: libjwt (Ubuntu)
Importance: Undecided => Low
** Changed in: libjwt (Ubuntu Focal)
Importance: Undecided => Low
** Changed in: libjwt (Ubuntu Jammy)
Importance: Undecided => Low
** Changed in: libjwt (Ubuntu Jammy)
Importance: Low => Medium
** Changed in: libjwt (Ubuntu Focal)
Importance: Low => Medium
** Changed in: libjwt (Ubuntu)
Importance: Low => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2178222
Title:
libjwt0 from USN-9075-1 ships libjwt-gnutls.so.0 instead of
libjwt.so.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libjwt/+bug/2178222/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs