You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/metadata/glsa/glsa-200410-16.xml

81 lines
2.8 KiB

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/xsl/glsa.xsl" type="text/xsl"?>
<?xml-stylesheet href="/xsl/guide.xsl" type="text/xsl"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200410-16">
<title>PostgreSQL: Insecure temporary file use in make_oidjoins_check</title>
<synopsis>
The make_oidjoins_check script, part of the PostgreSQL package, is
vulnerable to symlink attacks, potentially allowing a local user to
overwrite arbitrary files with the rights of the user running the utility.
</synopsis>
<product type="ebuild">PostgreSQL</product>
<announced>October 18, 2004</announced>
<revised>May 28, 2009: 04</revised>
<bug>66371</bug>
<access>local</access>
<affected>
<package name="dev-db/postgresql" auto="yes" arch="*">
<unaffected range="ge">7.4.5-r2</unaffected>
<unaffected range="rge">7.3.7-r2</unaffected>
<unaffected range="rge">7.3.15</unaffected>
<unaffected range="rge">7.3.16</unaffected>
<unaffected range="rge">7.3.18</unaffected>
<unaffected range="rge">7.3.21</unaffected>
<vulnerable range="le">7.4.5-r1</vulnerable>
</package>
</affected>
<background>
<p>
PostgreSQL is an open source database based on the POSTGRES database
management system. It includes several contributed scripts including
the make_oidjoins_check script.
</p>
</background>
<description>
<p>
The make_oidjoins_check script insecurely creates temporary files in
world-writeable directories with predictable names.
</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
make_oidjoins_check is called, this would result in file overwrite 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 PostgreSQL users should upgrade to the latest version:
</p>
<code>
# emerge sync
# emerge -pv &quot;&gt;=dev-db/postgresql-7.4.5-r2&quot;
# emerge &quot;&gt;=dev-db/postgresql-7.4.5-r2&quot;</code>
<p>
Upgrade notes: PostgreSQL 7.3.x users should upgrade to the latest
available 7.3.x version to retain database compatibility.
</p>
</resolution>
<references>
<uri link="http://www.trustix.org/errata/2004/0050/">Trustix Advisory #2004-0050</uri>
<uri link="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0977">CVE-2004-0977</uri>
</references>
<metadata tag="submitter" timestamp="Mon, 18 Oct 2004 13:31:59 +0000">
koon
</metadata>
<metadata tag="bugReady" timestamp="Mon, 18 Oct 2004 13:32:56 +0000">
koon
</metadata>
</glsa>