Skip to content
Heist/ feed
Back to feed
HighFix available

openssh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-41617

sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.

Products
openssh
Affected versions
Not specified
Fixed versions
1:8.7p1-1
CVEs
CVE-2021-41617
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 16:18 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-41617

core-osv · Original source

Published 26 Sept 2021, 19:15 UTC

sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.

osv:DEBIAN-CVE-2021-41617

openssh

Fixed versions: 1:8.7p1-1

openssh

Fixed versions: 1:8.7p1-1

openssh

Fixed versions: 1:8.7p1-1

Complete source record
{
  "id": "5683a7c85a39abf8fd18db9dbdfa1b76d0d59b5cb7d7c160bb069bb2f8595462",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-41617",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-41617",
    "summary": "sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.",
    "evidence": "osv:DEBIAN-CVE-2021-41617",
    "products": [
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:8.7p1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:8.7p1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "openssh",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:8.7p1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2021-41617",
      "aliases": [
        "DEBIAN-CVE-2021-41617"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:8.7p1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41617.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:8.7p1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41617.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:8.7p1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "openssh",
            "purl": "pkg:deb/debian/openssh?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-41617.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T09:47:28.613690105Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-41617"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-41617"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-41617",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 327422,
  "published_at": "2021-09-26T19:15:07.263+00:00"
}