{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "openssh", "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2009-2904"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2009-10-01T15:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "openssh", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "openssh-askpass", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "openssh-clients", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "openssh-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2009-2904.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2009-09-30T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 6.2, "accessVector": "LOCAL", "vectorString": "AV:L/AC:H/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "HIGH", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "openssh", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "openssh-askpass", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "openssh-clients", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "openssh-server", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.3p2-36.el5_4.2", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2009:1470"}, {"url": "https://access.redhat.com/security/cve/CVE-2009-2904"}], "descriptions": [{"lang": "en", "value": "OpenSSH is OpenBSD's SSH (Secure Shell) protocol implementation. These\npackages include the core files necessary for both the OpenSSH client and\nserver.\n\nA Red Hat specific patch used in the openssh packages as shipped in Red\nHat Enterprise Linux 5.4 (RHSA-2009:1287) loosened certain ownership\nrequirements for directories used as arguments for the ChrootDirectory\nconfiguration options. A malicious user that also has or previously had\nnon-chroot shell access to a system could possibly use this flaw to\nescalate their privileges and run commands as any system user.\n(CVE-2009-2904)\n\nAll OpenSSH users are advised to upgrade to these updated packages, which\ncontain a backported patch to resolve this issue. After installing this\nupdate, the OpenSSH server daemon (sshd) will be restarted automatically."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2009-09-30T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 6.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "MEDIUM", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"cpes": ["cpe:2.3:a:openbsd:openssh:4.3:*:*:*:*:*:*:*", "cpe:2.3:a:openbsd:openssh:4.8:*:*:*:*:*:*:*"], "vendor": "openbsd", "product": "openssh", "versions": [{"status": "affected", "version": "4.3"}, {"status": "affected", "version": "4.8"}], "platforms": ["cpe:2.3:o:fedoraproject:fedora:11:*:*:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux:5:*:server:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_desktop:5:*:client:*:*:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_eus:5:*:*:*:*:*:*:*"], "defaultStatus": "unaffected"}], "references": [{"url": "https://rhn.redhat.com/errata/RHSA-2009-1470.html", "tags": ["vendor-advisory"]}, {"url": "http://lists.fedoraproject.org/pipermail/package-announce/2010-March/038214.html"}, {"url": "http://lists.vmware.com/pipermail/security-announce/2010/000082.html"}, {"url": "http://osvdb.org/58495"}, {"url": "http://secunia.com/advisories/38794"}, {"url": "http://secunia.com/advisories/38834"}, {"url": "http://secunia.com/advisories/39182"}, {"url": "http://www.securityfocus.com/bid/36552"}, {"url": "http://www.vupen.com/english/advisories/2010/0528"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=522141"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9862"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Ciertas modificaciones Ret Hat en ChrootDirectory feature en OpenSSH v4.8, como el usado en sshd en OpenSSH v4.3 en Red Hat Enterprise Linux (RHEL) v5.4 y Fedora v11, permite a usuarios locales obtener privilegios a través de enlaces fuertes en programas setuid que usa una configuración de ficheros con el chroot directory, relacionado con requerimientos para el propietario."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-16", "description": "CWE-16"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2009-10-01T15:30:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2009-2904", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2009-10-01T15:30:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}