Skip to content
OpenAdvisories
High 1 exploited CVE USN-4705-1 2 CVEs

sudo vulnerabilities

Published Jan 26, 2021 · Updated Apr 27, 2026

Summary

It was discovered that Sudo incorrectly handled memory when parsing command
lines. A local attacker could possibly use this issue to obtain unintended
access to the administrator account. (CVE-2021-3156)

It was discovered that the Sudo sudoedit utility incorrectly handled
checking directory permissions. A local attacker could possibly use this
issue to bypass file permissions and determine if a directory exists or
not. (CVE-2021-23239)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · 16.04 LTS 16.04:LTS sudo 1.8.16-0ubuntu1.10
Ubuntu · 18.04 LTS 18.04:LTS sudo 1.8.21p2-3ubuntu1.4
Ubuntu · 20.04 LTS 20.04:LTS sudo 1.8.31-1ubuntu1.2

Vulnerabilities 2

  • High 7.8
    CVE-2021-3156 Exploited Public exploit EPSS 100%

    Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privileg…

    KEV Apr 6, 2022
  • Unscored —

    The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existe…

References

  • report
    https://ubuntu.com/security/CVE-2021-3156
  • report
    https://ubuntu.com/security/CVE-2021-23239