Skip to main content
VulnerabilityPublished Updated

rust-sudo-rs vulnerability

Affects rust-sudo-rsSource GCVE Database

0
Severity
Unrated

Rated by Threat Radar

Patch
Available – fixed in 0.2.13-0ubuntu1.2

Data as of 24 Nov 2026, 17:39 UTC

What to do

Upgrade the Ubuntu rust-sudo-rs package to 0.2.13-0ubuntu1.2.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSrust-sudo-rspkg:deb/ubuntu/rust-sudo-rs?arch=source&distro=resoluteOther threatsAffected
  • <0.2.13-0ubuntu1.2
Fixed in
  • 0.2.13-0ubuntu1.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…