Advisory

USN-6565-1

Also known as: CVE-2021-41617, CVE-2023-51384, CVE-2023-51385

Summary

openssh vulnerabilities

Details

It was discovered that OpenSSH incorrectly handled supplemental groups when
running helper programs for AuthorizedKeysCommand and
AuthorizedPrincipalsCommand as a different user. An attacker could possibly
use this issue to escalate privileges. This issue only affected Ubuntu
20.04 LTS. (CVE-2021-41617)

It was discovered that OpenSSH incorrectly added destination constraints
when PKCS#11 token keys were added to ssh-agent, contrary to expectations.
This issue only affected Ubuntu 22.04 LTS, and Ubuntu 23.04.
(CVE-2023-51384)

It was discovered that OpenSSH incorrectly handled user names or host names
with shell metacharacters. An attacker could possibly use this issue to
perform OS command injection. (CVE-2023-51385)

Severity

Not rated by the source.

Dates

Published
2024-01-03 18:00 UTC
Modified
2026-05-29 18:00 UTC

Affected packages and fixes

openssh

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:8.2p1-4ubuntu0.11 (ecosystem)

Fixed versions

1:8.2p1-4ubuntu0.11

Fix

  • Fixed version 1:8.2p1-4ubuntu0.11
    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.

openssh

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:8.9p1-3ubuntu0.6 (ecosystem)

Fixed versions

1:8.9p1-3ubuntu0.6

Fix

  • Fixed version 1:8.9p1-3ubuntu0.6
    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