Skip to content
Fencer Intel
medium 6.9

CVE-2009-2904 json

A certain Red Hat modification to the ChrootDirectory feature in OpenSSH 4.8, as used in sshd in OpenSSH 4.3 in Red Hat Enterprise Linux (RHEL) 5.4 and Fedora 11, allows local users to gain privileges via hard links to setuid programs that use configuration files within the chroot directory, related to requirements for directory ownership.

published 17y ago modified 5mo ago also EUVD-2009-2892

cvss
6.9
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

Summary

A certain Red Hat modification to the ChrootDirectory feature in OpenSSH 4.8, as used in sshd in OpenSSH 4.3 in Red Hat Enterprise Linux (RHEL) 5.4 and Fedora 11, allows local users to gain privileges via hard links to setuid programs that use configuration files within the chroot directory, related to requirements for directory ownership.

Patch / fix

  • openssh RHEL 5 4.3p2-36.el5_4.2
  • openssh-server RHEL 5 4.3p2-36.el5_4.2
  • openssh-askpass RHEL 5 4.3p2-36.el5_4.2
  • openssh-clients RHEL 5 4.3p2-36.el5_4.2

red hat advisories RHSA-2009:1470

Is CVE-2009-2904 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2009-2904 updated cvss 6.2

openssh: possible privilege escalation when using ChrootDirectory setting

  • Red Hat Enterprise Linux (v. 5 server) openssh 4.3p2-36.el5_4.2, openssh-server 4.3p2-36.el5_4.2, openssh-askpass 4.3p2-36.el5_4.2, openssh-clients 4.3p2-36.el5_4.2 Red Hat Enterprise Linux Desktop (v. 5 client) openssh 4.3p2-36.el5_4.2, openssh-server 4.3p2-36.el5_4.2, openssh-askpass 4.3p2-36.el5_4.2, openssh-clients 4.3p2-36.el5_4.2
    fixed: vendor fix RHSA-2009:1470

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-18).

CVSS scores

assigned by version score vector
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.