touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #80117
[Bug 1458031] [NEW] sudo not properly cleaning out timestamp directory
*** This bug is a security vulnerability ***
Public security bug reported:
Sudo 1.8.10 switched to a new time stamp file format that uses the
monotonic clock. Timestamp files moved from /var/lib/sudo to
/var/lib/sudo/ts.
At boot, the contents of the /var/lib/sudo/ts directory needs to be
deleted, as per the warning in the build log:
configure: Warning: the /var/lib/sudo/ts directory must be cleared at boot time.
configure: You may need to create a startup item to do this.
The sudo package ships with both an init script and a systemd unit file.
Unfortunately, the init script sets the date on the timestamp files to
epoch, which is no longer the proper way to invalidate them. The systemd
unit file doesn't seem to work at all.
** Affects: sudo (Ubuntu)
Importance: Undecided
Status: Confirmed
** Affects: sudo (Ubuntu Wily)
Importance: Undecided
Status: Confirmed
** Affects: sudo (Debian)
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1458031
Title:
sudo not properly cleaning out timestamp directory
Status in sudo package in Ubuntu:
Confirmed
Status in sudo source package in Wily:
Confirmed
Status in sudo package in Debian:
Unknown
Bug description:
Sudo 1.8.10 switched to a new time stamp file format that uses the
monotonic clock. Timestamp files moved from /var/lib/sudo to
/var/lib/sudo/ts.
At boot, the contents of the /var/lib/sudo/ts directory needs to be
deleted, as per the warning in the build log:
configure: Warning: the /var/lib/sudo/ts directory must be cleared at boot time.
configure: You may need to create a startup item to do this.
The sudo package ships with both an init script and a systemd unit
file. Unfortunately, the init script sets the date on the timestamp
files to epoch, which is no longer the proper way to invalidate them.
The systemd unit file doesn't seem to work at all.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1458031/+subscriptions
Follow ups
References