Advisory

USN-5811-1

Also known as: CVE-2022-33070, CVE-2023-22809

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)

Severity

Not rated by the source.

Dates

Published
2023-01-18 17:44 UTC
Modified
2026-04-27 16:32 UTC

Affected packages and fixes

sudo

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.8.21p2-3ubuntu1.5 (ecosystem)

Fixed versions

1.8.21p2-3ubuntu1.5

Fix

  • Fixed version 1.8.21p2-3ubuntu1.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sudo

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1.8.31-1ubuntu1.4 (ecosystem)

Fixed versions

1.8.31-1ubuntu1.4

Fix

  • Fixed version 1.8.31-1ubuntu1.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sudo

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.9.9-1ubuntu2.2 (ecosystem)

Fixed versions

1.9.9-1ubuntu2.2

Fix

  • Fixed version 1.9.9-1ubuntu2.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences