{"osvdb": [{"lastseen": "2017-04-28T13:20:13", "bulletinFamily": "software", "cvelist": ["CVE-2004-1901"], "edition": 1, "description": "# No description provided by the source\n\n## References:\n[Secunia Advisory ID:11305](https://secuniaresearch.flexerasoftware.com/advisories/11305/)\nISS X-Force ID: 15754\n[CVE-2004-1901](https://vulners.com/cve/CVE-2004-1901)\nBugtraq ID: 10060\n", "modified": "2004-04-06T00:00:00", "published": "2004-04-06T00:00:00", "href": "https://vulners.com/osvdb/OSVDB:16998", "id": "OSVDB:16998", "title": "Portage Lockfile Hardlink Arbitrary File Overwrite", "type": "osvdb", "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "openvas": [{"lastseen": "2017-07-24T12:49:48", "bulletinFamily": "scanner", "cvelist": ["CVE-2004-1901"], "description": "The remote host is missing updates announced in\nadvisory GLSA 200404-01.", "modified": "2017-07-07T00:00:00", "published": "2008-09-24T00:00:00", "id": "OPENVAS:54540", "href": "http://plugins.openvas.org/nasl.php?oid=54540", "type": "openvas", "title": "Gentoo Security Advisory GLSA 200404-01 (Portage)", "sourceData": "# OpenVAS Vulnerability Test\n# $\n# Description: Auto generated from Gentoo's XML based advisory\n#\n# Authors:\n# Thomas Reinke <reinke@securityspace.com>\n#\n# Copyright:\n# Copyright (c) 2008 E-Soft Inc. http://www.securityspace.com\n# Text descriptions are largely excerpted from the referenced\n# advisories, and are Copyright (c) the respective author(s)\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2,\n# as published by the Free Software Foundation\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n#\n\ninclude(\"revisions-lib.inc\");\ntag_insight = \"A flaw has been found in the temporary file handling algorithms for the\nsandboxing code used within Portage. Lockfiles created during normal\nPortage operation of portage could be manipulated by local users resulting\nin the truncation of hard linked files; causing a Denial of Service attack\non the system.\";\ntag_solution = \"Users should upgrade to Portage 2.0.50-r3 or later:\n\n # emerge sync\n \n # emerge -pv '>=sys-apps/portage-2.0.50-r3'\n # emerge '>=sys-apps/portage-2.0.50-r3'\n\nhttp://www.securityspace.com/smysecure/catid.html?in=GLSA%20200404-01\nhttp://bugs.gentoo.org/show_bug.cgi?id=21923\";\ntag_summary = \"The remote host is missing updates announced in\nadvisory GLSA 200404-01.\";\n\n \n\nif(description)\n{\n script_id(54540);\n script_cve_id(\"CVE-2004-1901\");\n script_tag(name:\"cvss_base\", value:\"4.6\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:L/AC:L/Au:N/C:P/I:P/A:P\");\n script_version(\"$Revision: 6596 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-07-07 11:21:37 +0200 (Fri, 07 Jul 2017) $\");\n script_tag(name:\"creation_date\", value:\"2008-09-24 21:14:03 +0200 (Wed, 24 Sep 2008)\");\n script_name(\"Gentoo Security Advisory GLSA 200404-01 (Portage)\");\n\n\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2005 E-Soft Inc. http://www.securityspace.com\");\n script_family(\"Gentoo Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/gentoo\", \"ssh/login/pkg\");\n script_tag(name : \"insight\" , value : tag_insight);\n script_tag(name : \"solution\" , value : tag_solution);\n script_tag(name : \"summary\" , value : tag_summary);\n script_tag(name:\"qod_type\", value:\"package\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n exit(0);\n}\n\n#\n# The script code starts here\n#\n\ninclude(\"pkg-lib-gentoo.inc\");\n\nres = \"\";\nreport = \"\";\nif ((res = ispkgvuln(pkg:\"sys-apps/portage\", unaffected: make_list(\"ge 2.0.50-r3\"), vulnerable: make_list(\"lt 2.0.50-r3\"))) != NULL) {\n report += res;\n}\n\nif (report != \"\") {\n security_message(data:report);\n} else if (__pkg_match) {\n exit(99); # Not vulnerable.\n}\n", "cvss": {"score": 4.6, "vector": "AV:LOCAL/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}]}