A heap overflow vulnerability in the Hashcash utility could allow an attacker to execute arbitrary code.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-misc/hashcash | * | < 1.21 | >= 1.21 |
Hashcash is a utility for generating Hashcash tokens, a proof-of-work system to reduce the impact of spam.
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.
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.
There is no known workaround at this time.
All Hashcash users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/hashcash-1.21"
A format string vulnerability in the Hashcash utility could allow an attacker to execute arbitrary code.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-misc/hashcash | * | < 1.16-r1 | >= 1.16-r1 |
Hashcash is a utility for generating Hashcash tokens, a proof-of-work system to reduce the impact of spam.
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.
Successful exploitation would permit an attacker to disrupt Hashcash users, and potentially execute arbitrary code.
There is no known workaround at this time.
All Hashcash users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/hashcash-1.16-r1"