{"schemaVersion":3,"id":"CVE-2007-5191","aliases":["RHSA-2007:0969","DEBIAN-CVE-2007-5191","DSA-1449-1","DSA-1450-1","DTSA-64-1","DTSA-70-1"],"status":"published","duplicateOf":null,"title":null,"description":"mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return values, which might allow attackers to gain privileges via helpers such as mount.nfs.","dates":{"published":"2007-10-04T16:00:00.000Z","modified":"2024-08-07T15:24:42.131Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0044,"percentile":0.36857,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0044},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0044,"percentile":0.36857}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0044,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0044,"percentile":0.36857}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-252","name":"Unchecked Return Value","description":"The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Low","url":"https://cwe.mitre.org/data/definitions/252.html"}],"affected":[{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.06","noFixRecorded":false,"fixedIn":null},{"text":"6.10","noFixRecorded":false,"fixedIn":null},{"text":"7.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.06 | 6.10 | 7.04","eol":{"isEol":true,"eolDate":"2011-06-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6.06","label":"6.06 'Dapper Drake' (LTS)","eolFrom":"2011-06-01T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"6.06.2"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"loop-aes-utils","name":"loop-aes-utils","label":"loop-aes-utils","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/loop-aes-utils","purlType":"deb","versions":[{"text":"< 2.12r-16+lenny1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12r-15+etch1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12p-4sarge2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.12r-16+lenny1 | < 2.12r-15+etch1 | < 2.12p-4sarge2","eol":null,"hubHref":null},{"vendor":"debian","product":"util-linux","name":"util-linux","label":"util-linux","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/util-linux","purlType":"deb","versions":[{"text":"< 2.13-8","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12r-19+lenny1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12r-19etch1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.12p-4sarge2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.13-8 | < 2.12r-19+lenny1 | < 2.12r-19etch1 | < 2.12p-4sarge2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.1","eol":{"isEol":true,"eolDate":"2008-03-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"3.1","label":"3.1 (Sarge)","eolFrom":"2008-03-31T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"3.1r8"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"7","noFixRecorded":false,"fixedIn":null}],"versionsText":"7","eol":{"isEol":true,"eolDate":"2008-06-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"7","label":"7 (Moonshine)","eolFrom":"2008-06-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"kernel","product":"util-linux","name":"util-linux","label":"util-linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.13.1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.13.1.1","eol":null,"hubHref":"/vendor/kernel/util-linux"},{"vendor":"loop-aes-utils_project","product":"loop-aes-utils","name":"loop-aes-utils","label":"loop-aes-utils","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/loop-aes-utils_project/loop-aes-utils"},{"vendor":"redhat","product":"losetup","name":"losetup","label":"losetup","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/losetup","purlType":"rpm","versions":[{"text":"< 0:2.11y-31.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.11y-31.24","eol":null,"hubHref":null},{"vendor":"redhat","product":"mount","name":"mount","label":"mount","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/mount","purlType":"rpm","versions":[{"text":"< 0:2.11y-31.24","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.11y-31.24","eol":null,"hubHref":null},{"vendor":"redhat","product":"util-linux","name":"util-linux","label":"util-linux","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/util-linux","purlType":"rpm","versions":[{"text":"< 0:2.11y-31.24","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.12a-17.el4_6.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.13-0.45.el5_1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.11y-31.24 | < 0:2.12a-17.el4_6.1 | < 0:2.13-0.45.el5_1.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"util-linux-debuginfo","name":"util-linux-debuginfo","label":"util-linux-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/util-linux-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.11y-31.24","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.12a-17.el4_6.1","noFixRecorded":false,"fixedIn":null},{"text":"< 0:2.13-0.45.el5_1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.11y-31.24 | < 0:2.12a-17.el4_6.1 | < 0:2.13-0.45.el5_1.1","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":true,"count":3},"references":[{"url":"http://www.ubuntu.com/usn/usn-533-1","label":"www.ubuntu.com/usn/usn-533-1","hostname":"www.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://issues.rpath.com/browse/RPL-1757","label":"issues.rpath.com/browse/RPL-1757","hostname":"issues.rpath.com","tags":["X Refsource CONFIRM","Broken Link"]},{"url":"http://secunia.com/advisories/27145","label":"secunia.com/advisories/27145","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=195390","label":"bugs.gentoo.org/show_bug.cgi?id=195390","hostname":"bugs.gentoo.org","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27122","label":"secunia.com/advisories/27122","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198","label":"frontal2.mandriva.com/en/security/advisories?name=MDKSA-2007:198","hostname":"frontal2.mandriva.com","tags":["Vendor Advisory","X Refsource MANDRIVA","Third Party Advisory"]},{"url":"http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git%3Ba=commit%3Bh=ebbeb2c7ac1b00b6083905957837a271e80b187e","label":"git.kernel.org","hostname":"git.kernel.org","tags":["X Refsource CONFIRM"]},{"url":"http://secunia.com/advisories/28349","label":"secunia.com/advisories/28349","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.debian.org/security/2008/dsa-1449","label":"www.debian.org/security/2008/dsa-1449","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.debian.org/security/2008/dsa-1450","label":"www.debian.org/security/2008/dsa-1450","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27104","label":"secunia.com/advisories/27104","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/27283","label":"secunia.com/advisories/27283","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/485936/100/0/threaded","label":"www.securityfocus.com/archive/1/485936/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"http://secunia.com/advisories/27354","label":"secunia.com/advisories/27354","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://lists.vmware.com/pipermail/security-announce/2008/000002.html","label":"lists.vmware.com/pipermail/security-announce/2008/000002.html","hostname":"lists.vmware.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"http://secunia.com/advisories/28469","label":"secunia.com/advisories/28469","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200710-18.xml","label":"security.gentoo.org/glsa/glsa-200710-18.xml","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"http://secunia.com/advisories/28348","label":"secunia.com/advisories/28348","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://www.securitytracker.com/id?1018782","label":"www.securitytracker.com/id?1018782","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK","Third Party Advisory"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00144.html","label":"www.redhat.com/archives/fedora-package-announce/2007-October/msg00144.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource FEDORA","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27687","label":"secunia.com/advisories/27687","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=320041","label":"bugzilla.redhat.com/show_bug.cgi?id=320041","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Issue Tracking","Third Party Advisory","REPORT"]},{"url":"http://secunia.com/advisories/28368","label":"secunia.com/advisories/28368","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://secunia.com/advisories/27399","label":"secunia.com/advisories/27399","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10101","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10101","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/25973","label":"www.securityfocus.com/bid/25973","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://secunia.com/advisories/27188","label":"secunia.com/advisories/27188","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-023.htm","label":"support.avaya.com/elmodocs2/security/ASA-2008-023.htm","hostname":"support.avaya.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/3417","label":"www.vupen.com/english/advisories/2007/3417","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Third Party Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0969.html","label":"www.redhat.com/support/errata/RHSA-2007-0969.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2007-10/msg00008.html","label":"lists.opensuse.org/opensuse-security-announce/2007-10/msg00008.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://www.vmware.com/security/advisories/VMSA-2008-0001.html","label":"www.vmware.com/security/advisories/VMSA-2008-0001.html","hostname":"www.vmware.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2008/0064","label":"www.vupen.com/english/advisories/2008/0064","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Third Party Advisory"]},{"url":"http://www.securityfocus.com/archive/1/486859/100/0/threaded","label":"www.securityfocus.com/archive/1/486859/100/0/threaded","hostname":"www.securityfocus.com","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0969","label":"access.redhat.com/errata/RHSA-2007:0969","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0969.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0969.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-5191","label":"access.redhat.com/security/cve/CVE-2007-5191","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-5191","label":"www.cve.org/CVERecord?id=CVE-2007-5191","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5191","label":"nvd.nist.gov/vuln/detail/CVE-2007-5191","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-5191","label":"security-tracker.debian.org/tracker/CVE-2007-5191","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2007-10-04T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T15:24:42.131Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:34:52.781Z","stale":false,"partial":false}}