Lucene search

K
securityvulnsSecurityvulnsSECURITYVULNS:DOC:13338
HistoryJun 27, 2006 - 12:00 a.m.

[ GLSA 200606-25 ] Hashcash: Possible heap overflow

2006-06-2700:00:00
vulners.com
4

Gentoo Linux Security Advisory GLSA 200606-25


                                        http://security.gentoo.org/

Severity: High
Title: Hashcash: Possible heap overflow
Date: June 26, 2006
Bugs: #134960
ID: 200606-25


Synopsis

A heap overflow vulnerability in the Hashcash utility could allow an
attacker to execute arbitrary code.

Background

Hashcash is a utility for generating Hashcash tokens, a proof-of-work
system to reduce the impact of spam.

Affected packages

-------------------------------------------------------------------
 Package            /  Vulnerable  /                    Unaffected
-------------------------------------------------------------------

1 net-misc/hashcash < 1.21 >= 1.21

Description

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

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.

Workaround

There is no known workaround at this time.

Resolution

All Hashcash users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose &quot;&gt;=net-misc/hashcash-1.21&quot;

References

[ 1 ] Hashcash ChangeLog
http://www.hashcash.org/source/CHANGELOG

Availability

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200606-25.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.

License

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5