blob: e2cde2516a825bcca295db6e25e81cd4b04426ee [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<glsa id="200606-25">
<title>Hashcash: Possible heap overflow</title>
A heap overflow vulnerability in the Hashcash utility could allow an
attacker to execute arbitrary code.
<product type="ebuild">hashcash</product>
<announced>June 26, 2006</announced>
<revised>July 29, 2006: 02</revised>
<package name="net-misc/hashcash" auto="yes" arch="*">
<unaffected range="ge">1.21</unaffected>
<vulnerable range="lt">1.21</vulnerable>
Hashcash is a utility for generating Hashcash tokens, a proof-of-work
system to reduce the impact of spam.
Andreas Seltenreich has reported a possible heap overflow in the
array_push() function in hashcash.c, as a result of an incorrect amount
of allocated memory for the "ARRAY" structure.
<impact type="high">
By sending malicious entries to the Hashcash utility, an attacker may
be able to cause an overflow, potentially resulting in the execution of
arbitrary code with the privileges of the user running the application.
There is no known workaround at this time.
All Hashcash users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-misc/hashcash-1.21&quot;</code>
<uri link="">Hashcash ChangeLog</uri>
<uri link="">CVE-2006-3251</uri>
<metadata tag="requester" timestamp="Sun, 18 Jun 2006 12:26:10 +0000">
<metadata tag="submitter" timestamp="Sun, 18 Jun 2006 12:57:56 +0000">
<metadata tag="bugReady" timestamp="Fri, 23 Jun 2006 18:48:20 +0000">