GLSA-200606-25 : Hashcash: Possible heap overflow

high Nessus Plugin ID 21758

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.

Solution

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

See Also

http://www.hashcash.org/source/CHANGELOG

https://security.gentoo.org/glsa/200606-25

Plugin Details

Severity: High

ID: 21758

File Name: gentoo_GLSA-200606-25.nasl

Version: 1.14

Type: local

Published: 6/27/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:hashcash, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 6/26/2006

Vulnerability Publication Date: 3/24/2006

Reference Information

CVE: CVE-2006-3251

GLSA: 200606-25