USN-5811-1

Source
https://ubuntu.com/security/notices/USN-5811-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5811-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5811-1
Related
Published
2023-01-18T17:44:58.006204Z
Modified
2023-01-18T17:44:58.006204Z
Summary
sudo vulnerabilities
Details

Matthieu Barjole and Victor Cutillas discovered that Sudo incorrectly handled user-specified editors when using the sudoedit command. A local attacker that has permission to use the sudoedit command could possibly use this issue to edit arbitrary files. (CVE-2023-22809)

It was discovered that the Protobuf-c library, used by Sudo, incorrectly handled certain arithmetic shifts. An attacker could possibly use this issue to cause Sudo to crash, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-33070)

References

Affected packages

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.5

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
1.8.21p2-3ubuntu1.4

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.8.21p2-3ubuntu1.5",
            "binary_name": "sudo"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.5",
            "binary_name": "sudo-dbgsym"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.5",
            "binary_name": "sudo-ldap"
        },
        {
            "binary_version": "1.8.21p2-3ubuntu1.5",
            "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.4

Affected versions

1.*

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

Ecosystem specific

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

Ubuntu:22.04:LTS / sudo

Package

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

Affected ranges

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

Affected versions

1.*

1.9.5p2-3ubuntu2
1.9.9-1ubuntu2
1.9.9-1ubuntu2.1

Ecosystem specific

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