Ubuntu issued a security notice on November 11 for CVE-2026-45363, a vulnerability in the Ruby ruby-jwt library. The issue matters to teams that build or maintain web applications and APIs using JSON Web Tokens (JWTs) for authentication. But it is not a blanket warning about all Ubuntu machines: the risk depends on the application’s library version and how it supplies the token-verification key.
How an empty key can break token checks
JWTs can carry signed claims that a service uses to identify a user or authorize a request. The upstream project’s security advisory says affected versions of ruby-jwt could accept an attacker-forged token when an HMAC signature is checked with an empty key. The problem can also arise if a key-lookup routine returns an empty string or nil for an unknown key identifier.
That does not mean every application using JWT is vulnerable. The upstream maintainers say the flaw affects HS256, HS384 and HS512 verification paths in upstream gem versions earlier than 2.10.3, or in the 3.x series before 3.2.0. A service using a non-empty static key, or a key finder that rejects an unknown key rather than converting it into an empty value, is not affected by the described condition.
Ubuntu’s security notice index lists USN-9059-1 for ruby-jwt and identifies Ubuntu 26.04, 24.04, 22.04, 20.04, 18.04 and 16.04 LTS releases. The companion Ubuntu CVE record marks the package fixed for the releases it tracks. For example, Ubuntu 24.04 has a fixed distribution package, while the listed 22.04 fix is provided through Ubuntu Pro’s ESM Apps. Older releases have their own package status and support conditions.
Check the app, not only the server label
Administrators should first establish whether their Ruby service actually uses ruby-jwt, and whether the deployed version comes from Ubuntu’s package archive or the application’s own dependency bundle. Then review the code path that selects HMAC keys, especially fallbacks for missing secrets or unknown key IDs. A missing configuration value that silently becomes an empty string deserves attention.
Patch guidance needs care because Ubuntu backports security fixes. Its distribution package version can look older than the upstream gem’s fixed version while still containing the security change. Do not compare version numbers across the two systems or upgrade a production gem blindly. Check the Ubuntu CVE record for the specific release and package, or the upstream advisory if the app vendors its own gem. Ubuntu recommends applying updates through the standard package process—sudo apt update && sudo apt upgrade—and cautions against cherry-picking individual package updates.
After updating a bundled dependency, deploy the corrected lockfile and restart the application so running processes load the patched code. Test sign-in and API authorization in staging, and make sure unknown key IDs fail closed. A patch does not replace sound secret management: production keys should be non-empty, protected and rotated under the organisation’s normal procedures.
Why local IT teams should pay attention
Pakistan’s web agencies, hosting providers and organisations running online portals may maintain Ruby applications even if their main infrastructure work is not security research. A small firm serving clients in Chitral, for example, could manage a booking, membership or service portal whose API uses token-based login. The useful lesson is to check the application’s actual dependencies and configuration rather than rely only on the operating-system release name.
Ubuntu’s notice is a vendor update, not evidence of attacks against Pakistani organisations. Teams should prioritise systems where ruby-jwt is present and the risky empty-key path exists, confirm their release-specific fix status, and apply the vendor-supported update. That focused check is more useful than treating every machine or every JWT implementation as exposed.
Sources

Muhammad Nayab Khan is a seasoned Freelance Journalist, Media Professional, and Enterprise Development expert based in Chitral, Khyber Pakhtunkhwa, Pakistan. Holding an MBA in Finance from Punjab University, he brings a unique economic and digital perspective to media storytelling, corporate branding, and regional development. He maintains active professional affiliations with Qashqar TV (First PEMRA Licensed WebTV in Chitral) and Chitral Express (Chitral’s Largest News Network), where he contributes high-impact digital content, editorial visuals, and comprehensive coverage of regional socio-economic issues. As a multi-faceted entrepreneur and media creator, Nayab combines sharp investigative insight with advanced visual communication to highlight local narratives on regional and national platforms.


