GLSA-200606-25 : Hashcash: Possible heap overflow

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200606-25
(Hashcash: Possible heap overflow)

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.

See also :

http://www.hashcash.org/source/CHANGELOG
http://www.gentoo.org/security/en/glsa/glsa-200606-25.xml

Solution :

All Hashcash users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-misc/hashcash-1.21'

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 21758 (gentoo_GLSA-200606-25.nasl)

Bugtraq ID:

CVE ID: CVE-2006-3251