A vulnerability in Sudo was discovered where time-based access restrictions using NOTBEFORE or NOTAFTER with timestamps lacking a trailing timezone indicator were improperly handled. This flaw could allow a local attacker to bypass these restrictions by manipulating the TZ environment variable, potentially executing commands outside the intended time window. Updates fixing this issue are available for Ubuntu 18.04 LTS and 20.04 LTS.