USN-4705-1

Type: Security
Severity: High
Published: 2021-01-26
Ubuntu 20.04 LTS (Focal Fossa)

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) Update Instructions: Run `sudo pro fix USN-4705-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: sudo-ldap - 1.8.31-1ubuntu1.2 sudo - 1.8.31-1ubuntu1.2 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T04:50:43.236Z UTC

Official vendor advisory

Ubuntu 20.04 LTS (Focal Fossa)

View source
Observed 2026-11-28T04:50:43.236Z UTC. Last updated 2025-11-26T07:29:48.874Z UTC.

Upstream Advisory

Affected Packages

  • sudo-ldap 1.8.31-1ubuntu1.2-1.8.31-1ubuntu1.2

  • sudo 1.8.31-1ubuntu1.2-1.8.31-1ubuntu1.2

Interested in being alerted when there are new versions of sudo-ldap and the other packages? Set up an alert.
USN-4705-1: Sudo vulnerabilities | Package Alert