USN-4705-1

Source
https://ubuntu.com/security/notices/USN-4705-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4705-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4705-1
Related
Published
2021-01-26T18:48:16.165380Z
Modified
2021-01-26T18:48:16.165380Z
Summary
sudo vulnerabilities
Details

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)

References

Affected packages

Ubuntu:16.04:LTS / sudo

Package

Name
sudo
Purl
pkg:deb/ubuntu/sudo?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.16-0ubuntu1.10

Affected versions

1.*

1.8.12-1ubuntu3
1.8.16-0ubuntu1
1.8.16-0ubuntu1.1
1.8.16-0ubuntu1.2
1.8.16-0ubuntu1.3
1.8.16-0ubuntu1.4
1.8.16-0ubuntu1.5
1.8.16-0ubuntu1.6
1.8.16-0ubuntu1.7
1.8.16-0ubuntu1.8
1.8.16-0ubuntu1.9

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.8.16-0ubuntu1.10",
            "binary_name": "sudo"
        },
        {
            "binary_version": "1.8.16-0ubuntu1.10",
            "binary_name": "sudo-dbgsym"
        },
        {
            "binary_version": "1.8.16-0ubuntu1.10",
            "binary_name": "sudo-ldap"
        },
        {
            "binary_version": "1.8.16-0ubuntu1.10",
            "binary_name": "sudo-ldap-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / sudo

Package

Name
sudo
Purl
pkg:deb/ubuntu/sudo?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.21p2-3ubuntu1.4

Affected versions

1.*

1.8.20p2-1ubuntu1
1.8.21p2-2ubuntu1
1.8.21p2-3ubuntu1
1.8.21p2-3ubuntu1.1
1.8.21p2-3ubuntu1.2
1.8.21p2-3ubuntu1.3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.8.21p2-3ubuntu1.4",
            "binary_name": "sudo"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.4",
            "binary_name": "sudo-dbgsym"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.4",
            "binary_name": "sudo-ldap"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.4",
            "binary_name": "sudo-ldap-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / sudo

Package

Name
sudo
Purl
pkg:deb/ubuntu/sudo?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.31-1ubuntu1.2

Affected versions

1.*

1.8.27-1ubuntu4
1.8.29-1ubuntu1
1.8.31-1ubuntu1
1.8.31-1ubuntu1.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.8.31-1ubuntu1.2",
            "binary_name": "sudo"
        },
        {
            "binary_version": "1.8.31-1ubuntu1.2",
            "binary_name": "sudo-dbgsym"
        },
        {
            "binary_version": "1.8.31-1ubuntu1.2",
            "binary_name": "sudo-ldap"
        },
        {
            "binary_version": "1.8.31-1ubuntu1.2",
            "binary_name": "sudo-ldap-dbgsym"
        }
    ]
}