Skip to content
NewA calmer, faster ZeroHour
Advisorymedium

Ubuntu fixes Sudo time-restriction flaw on 18.04 and 20.04 LTS

Original title: USN-8895-2: Sudo vulnerability

Ubuntu Security Notices ()1
AI summary · x-ai/grok-4.7Summaries by Vani AI

A local user may change TZ to run commands outside NOTBEFORE or NOTAFTER windows when timestamps omit a timezone.

USN-8895-2 supplies the Sudo fix from USN-8895-1 for Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Sudo did not properly handle time-based access restrictions when sudoers rules used NOTBEFORE or NOTAFTER with timestamps that omitted the trailing timezone indicator. A local attacker could possibly execute commands outside the intended time window by manipulating the TZ environment variable.

Unconfirmed: The snippet does not state a CVE id, a fixed package version, or whether the flaw is exploited.

Key facts
  • The notice covers Ubuntu 18.04 LTS and Ubuntu 20.04 LTS.
  • The issue involves sudoers timestamps that omit a timezone indicator.
  • The notice does not name a CVE or a fixed Sudo version.
Security assessment · AI, from the article

Impact: Local command execution outside an intended time window

ProductAffected
Ubuntu SudoUbuntu 18.04 LTS and Ubuntu 20.04 LTS
What to do
  1. 1.Install the USN-8895-2 Sudo updates on Ubuntu 18.04 LTS and 20.04 LTS.
Analyze this story with Vani AIImpact, who is affected and what defenders should do, in a new chat

From the original article

USN-8895-1 fixed a vulnerability in Sudo. This update provides the corresponding updates for Ubuntu 18. 04 LTS and Ubuntu 20.

Ubuntu Security Notices

ubuntu.com

Read the full article at Ubuntu Security Notices

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.