usn-5811-1
Vulnerability from osv_ubuntu
Published
2023-01-18 17:44
Modified
2026-04-27 14:11
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)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2023-22809",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "sudo",
            "binary_version": "1.8.21p2-3ubuntu1.5"
          },
          {
            "binary_name": "sudo-ldap",
            "binary_version": "1.8.21p2-3ubuntu1.5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "sudo",
        "purl": "pkg:deb/ubuntu/sudo@1.8.21p2-3ubuntu1.5?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.8.21p2-3ubuntu1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2023-22809",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "sudo",
            "binary_version": "1.8.31-1ubuntu1.4"
          },
          {
            "binary_name": "sudo-ldap",
            "binary_version": "1.8.31-1ubuntu1.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "sudo",
        "purl": "pkg:deb/ubuntu/sudo@1.8.31-1ubuntu1.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.8.31-1ubuntu1.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.8.27-1ubuntu4",
        "1.8.29-1ubuntu1",
        "1.8.31-1ubuntu1",
        "1.8.31-1ubuntu1.1",
        "1.8.31-1ubuntu1.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-33070",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2023-22809",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "sudo",
            "binary_version": "1.9.9-1ubuntu2.2"
          },
          {
            "binary_name": "sudo-ldap",
            "binary_version": "1.9.9-1ubuntu2.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "sudo",
        "purl": "pkg:deb/ubuntu/sudo@1.9.9-1ubuntu2.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.9.9-1ubuntu2.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.9.5p2-3ubuntu2",
        "1.9.9-1ubuntu2",
        "1.9.9-1ubuntu2.1"
      ]
    }
  ],
  "aliases": [],
  "details": "Matthieu Barjole and Victor Cutillas discovered that Sudo incorrectly\nhandled user-specified editors when using the sudoedit command. A local\nattacker that has permission to use the sudoedit command could possibly use\nthis issue to edit arbitrary files. (CVE-2023-22809)\n\nIt was discovered that the Protobuf-c library, used by Sudo, incorrectly\nhandled certain arithmetic shifts. An attacker could possibly use this\nissue to cause Sudo to crash, resulting in a denial of service. This issue\nonly affected Ubuntu 22.04 LTS. (CVE-2022-33070)\n",
  "id": "USN-5811-1",
  "modified": "2026-04-27T14:11:29Z",
  "published": "2023-01-18T17:44:58Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5811-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-33070"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-22809"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "sudo vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2022-33070",
    "UBUNTU-CVE-2023-22809"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…