Lucene search

K
gentooGentoo FoundationGLSA-200606-25
HistoryJun 26, 2006 - 12:00 a.m.

Hashcash: Possible heap overflow

2006-06-2600:00:00
Gentoo Foundation
security.gentoo.org
11

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.02

Percentile

89.0%

Background

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

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 ">=net-misc/hashcash-1.21"
OSVersionArchitecturePackageVersionFilename
Gentooanyallnet-misc/hashcash< 1.21UNKNOWN

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS

0.02

Percentile

89.0%