{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"unimportant\"}"}}}], "affected": [{"vendor": "debian", "product": "rpm", "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2010-2059"}], "descriptions": [{"lang": "en", "value": "lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2010-06-08T18:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 7.2, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "LOW", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "popt", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.10.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm-apidocs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm-build", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "rpm-python", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2010-2059.html"}], "descriptions": [{"lang": "en", "value": "lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2010-09-07T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 1.9, "accessVector": "LOCAL", "vectorString": "AV:L/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "popt", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.10.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm-apidocs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm-build", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "rpm-python", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-20.el5_5.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2010:0679"}, {"url": "https://access.redhat.com/security/cve/CVE-2010-2059"}], "descriptions": [{"lang": "en", "value": "The RPM Package Manager (RPM) is a command line driven package management\nsystem capable of installing, uninstalling, verifying, querying, and\nupdating software packages.\n\nIt was discovered that RPM did not remove setuid and setgid bits set on\nbinaries when upgrading packages. A local attacker able to create hard\nlinks to binaries could use this flaw to keep those binaries on the system,\nat a specific version level and with the setuid or setgid bit set, even if\nthe package providing them was upgraded by a system administrator. This\ncould have security implications if a package was upgraded because of a\nsecurity flaw in a setuid or setgid program. (CVE-2010-2059)\n\nThis update also fixes the following bug:\n\n* A memory leak in the communication between RPM and the Security-Enhanced\nLinux (SELinux) subsystem, which could have caused extensive memory\nconsumption. In reported cases, this issue was triggered by running\nrhn_check when errata were scheduled to be applied. (BZ#627630)\n\nAll users of rpm are advised to upgrade to these updated packages, which\ncontain backported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2010-06-01T00:00:00Z", "x_subShortName": "redhat_5"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Low\"}"}}}], "affected": [{"vendor": "suse", "product": "popt", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "popt-32bit", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "popt-x86", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm-32bit", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm-x86", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.18.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11", "cpe:/o:suse:sles_sap:11"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "popt", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7-37.25.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "popt-32bit", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7-37.25.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.25.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm-32bit", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.25.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}, {"vendor": "suse", "product": "rpm-python", "versions": [{"status": "affected", "version": "0", "lessThan": "0:4.4.2.3-37.29.35.1", "versionType": "rpm"}], "platforms": ["cpe:/o:suse:sles:11:sp1"], "defaultStatus": "unaffected"}], "solutions": [{"lang": "en", "value": "SUSE bug 610941"}, {"lang": "en", "value": "SUSE bug 641825"}], "references": [{"url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2059", "name": "Mitre CVE-2010-2059"}, {"url": "https://www.suse.com/security/cve/CVE-2010-2059", "name": "SUSE CVE-2010-2059"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/4IE7I5U4VU7ZSJNN3DHYMM3JYGTV67J6/#4IE7I5U4VU7ZSJNN3DHYMM3JYGTV67J6", "name": "SUSE-SR:2010:014"}, {"url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/RKDKQLNEM7RLORAT2NPXV4HKQT2JJMHA/#RKDKQLNEM7RLORAT2NPXV4HKQT2JJMHA", "name": "SUSE-SR:2010:017"}], "descriptions": [{"lang": "en", "value": "\n    lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file.\n    "}], "providerMetadata": {"orgId": "404e59f5-483d-4b8a-8e7a-e67604dd8afb", "shortName": "suse", "dateUpdated": "2022-03-01T00:00:00Z", "x_subShortName": "suse_server_11"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.2, "accessVector": "LOCAL", "vectorString": "AV:L/AC:L/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "LOW", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/rpm/files/rpm/rpm-4.4/rpm-4.4.3.tar.gz", "tags": ["patch"]}, {"url": "http://secunia.com/advisories/40028", "tags": ["vendor-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html"}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html"}, {"url": "http://lists.vmware.com/pipermail/security-announce/2011/000126.html"}, {"url": "http://marc.info/?l=oss-security&m=127559059928131&w=2"}, {"url": "http://rpm.org/gitweb?p=rpm.git%3Ba=commit%3Bh=ca2d6b2b484f1501eafdde02e1688409340d2383"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2010:180"}, {"url": "http://www.openwall.com/lists/oss-security/2010/06/02/2"}, {"url": "http://www.openwall.com/lists/oss-security/2010/06/02/3"}, {"url": "http://www.openwall.com/lists/oss-security/2010/06/03/5"}, {"url": "http://www.openwall.com/lists/oss-security/2010/06/04/1"}, {"url": "http://www.osvdb.org/65143"}, {"url": "http://www.redhat.com/support/errata/RHSA-2010-0679.html"}, {"url": "http://www.securityfocus.com/archive/1/516909/100/0/threaded"}, {"url": "http://www.vmware.com/security/advisories/VMSA-2011-0004.html"}, {"url": "http://www.vupen.com/english/advisories/2011/0606"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=125517"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=598775"}], "descriptions": [{"lang": "en", "value": "lib/fsm.c in RPM 4.8.0 and unspecified 4.7.x and 4.6.x versions, and RPM before 4.4.3, does not properly reset the metadata of an executable file during replacement of the file in an RPM package upgrade, which might allow local users to gain privileges by creating a hard link to a vulnerable (1) setuid or (2) setgid file."}, {"lang": "es", "value": "lib/fsm.c en RPM v4.8.0 y veriones sin especificar v4.7.x y v4.6.x, y RPM anterior a v4.4.3, no resetea adecuadamente los metadatos de un archivo ejecutable durante el reemplazo del archivo en una actualización del paquete RPM, lo que podría permitir a usuarios locales obtener privilegios creando un enlace duro a un archivo vulnerable (1)setuid o (2) setgid."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-264", "description": "CWE-264"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "DISCARDED_CNA", "dateUpdated": "2010-06-08T18:30:10Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2010-2059", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2010-06-08T18:30:10Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}