USN-8895-2
USN-8895-1 fixed a vulnerability in Sudo. This update provides the corresponding updates for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Original advisory details: It was discovered that Sudo did not properly handle time-based access restrictions when sudoers rules used NOTBEFORE or NOTAFTER with timestamps omitting the trailing timezone indicator. A local attacker could possibly use this issue to execute commands outside the intended time window by manipulating the TZ environment variable. Update Instructions: Run `sudo pro fix USN-8895-2` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: sudo - 1.8.31-1ubuntu1.5+esm2 sudo-ldap - 1.8.31-1ubuntu1.5+esm2 Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Evidence and freshness
Last supporting evidence check: 2026-11-27T23:47:41.555Z UTC
Upstream Advisory
Affected Packages
sudo 1.8.31-1ubuntu1.5+esm2-1.8.31-1ubuntu1.5+esm2
sudo-ldap 1.8.31-1ubuntu1.5+esm2-1.8.31-1ubuntu1.5+esm2