portage-ng / portage / net-misc / hashcash / 1.22-r2
portage-ng glsa
2 advisories reference net-misc/hashcash · none place version 1.22-r2 in a vulnerable range
▸ GLSA 200606-25 Hashcash: Possible heap overflow this version unaffected high remote 2006-06-26

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

Announced
2006-06-26
Revised
2006-07-29 (revision 2)
Access
remote
Bugs
#134960
Advisory
https://security.gentoo.org/glsa/200606-25

Affected packages

PackageArchVulnerableUnaffected
net-misc/hashcash*< 1.21>= 1.21

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"

References

▸ GLSA 200503-12 Hashcash: Format string vulnerability this version unaffected normal remote 2005-03-06

A format string vulnerability in the Hashcash utility could allow an attacker to execute arbitrary code.

Announced
2005-03-06
Revised
2006-05-22 (revision 2)
Access
remote
Bugs
#83541
Advisory
https://security.gentoo.org/glsa/200503-12

Affected packages

PackageArchVulnerableUnaffected
net-misc/hashcash*< 1.16-r1>= 1.16-r1

Background

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

Description

Tavis Ormandy of the Gentoo Linux Security Audit Team identified a flaw in the Hashcash utility that an attacker could expose by specifying a malformed reply address.

Impact

Successful exploitation would permit an attacker to disrupt Hashcash users, and potentially execute arbitrary code.

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.16-r1"

References