Advisory

USN-8708-1

Also known as: None

Summary

rust-sudo-rs vulnerability

Details

It was discovered that sudo-rs incorrectly handled time-of-check vs time-
of-use conditions in sudoedit. A local attacker with permission to edit
specific files using sudoedit could use this issue to place files in
arbitrary directories, and possibly escalate their privileges. This issue
only affected systems configured to grant fine-grained sudoedit file
editing permissions, which is not the default configuration.

Severity

Not rated by the source.

Dates

Published
2026-09-01 12:58 UTC
Modified
2026-09-01 21:00 UTC

Affected packages and fixes

rust-sudo-rs

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 0.2.13-0ubuntu1.2 (ecosystem)

Fixed versions

0.2.13-0ubuntu1.2

Fix

  • Fixed version 0.2.13-0ubuntu1.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences