diff options
Diffstat (limited to 'metadata/glsa/glsa-200410-07.xml')
-rw-r--r-- | metadata/glsa/glsa-200410-07.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-200410-07.xml b/metadata/glsa/glsa-200410-07.xml new file mode 100644 index 000000000000..7d7bc6922cdf --- /dev/null +++ b/metadata/glsa/glsa-200410-07.xml @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> + +<glsa id="200410-07"> + <title>ed: Insecure temporary file handling</title> + <synopsis> + The ed utility is vulnerable to symlink attacks, potentially allowing a + local user to overwrite or change rights on arbitrary files with the rights + of the user running ed, which could be the root user. + </synopsis> + <product type="ebuild">ed</product> + <announced>October 09, 2004</announced> + <revised>October 09, 2004: 01</revised> + <bug>66400</bug> + <access>local</access> + <affected> + <package name="sys-apps/ed" auto="yes" arch="*"> + <unaffected range="ge">0.2-r4</unaffected> + <vulnerable range="le">0.2-r3</vulnerable> + </package> + </affected> + <background> + <p> + ed is a line-oriented text editor, used to create or modify text files, + both interactively and via shell scripts. + </p> + </background> + <description> + <p> + ed insecurely creates temporary files in world-writeable directories with + predictable names. Given that ed is used in various system shell scripts, + they are by extension affected by the same vulnerability. + </p> + </description> + <impact type="normal"> + <p> + A local attacker could create symbolic links in the temporary files + directory, pointing to a valid file somewhere on the filesystem. When ed is + called, this would result in file access with the rights of the user + running the utility, which could be the root user. + </p> + </impact> + <workaround> + <p> + There is no known workaround at this time. + </p> + </workaround> + <resolution> + <p> + All ed users should upgrade to the latest version: + </p> + <code> + # emerge sync + + # emerge -pv ">=sys-apps/ed-0.2-r4" + # emerge ">=sys-apps/ed-0.2-r4"</code> + </resolution> + <references> + <uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-1137">CVE-2000-1137</uri> + </references> + <metadata tag="requester" timestamp="Fri, 8 Oct 2004 21:10:12 +0000"> + koon + </metadata> + <metadata tag="bugReady" timestamp="Fri, 8 Oct 2004 21:10:49 +0000"> + koon + </metadata> + <metadata tag="submitter" timestamp="Sat, 9 Oct 2004 09:43:17 +0000"> + koon + </metadata> +</glsa> |