1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200606-25 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: High |
8 |
Title: Hashcash: Possible heap overflow |
9 |
Date: June 26, 2006 |
10 |
Bugs: #134960 |
11 |
ID: 200606-25 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A heap overflow vulnerability in the Hashcash utility could allow an |
19 |
attacker to execute arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
Hashcash is a utility for generating Hashcash tokens, a proof-of-work |
25 |
system to reduce the impact of spam. |
26 |
|
27 |
Affected packages |
28 |
================= |
29 |
|
30 |
------------------------------------------------------------------- |
31 |
Package / Vulnerable / Unaffected |
32 |
------------------------------------------------------------------- |
33 |
1 net-misc/hashcash < 1.21 >= 1.21 |
34 |
|
35 |
Description |
36 |
=========== |
37 |
|
38 |
Andreas Seltenreich has reported a possible heap overflow in the |
39 |
array_push() function in hashcash.c, as a result of an incorrect amount |
40 |
of allocated memory for the "ARRAY" structure. |
41 |
|
42 |
Impact |
43 |
====== |
44 |
|
45 |
By sending malicious entries to the Hashcash utility, an attacker may |
46 |
be able to cause an overflow, potentially resulting in the execution of |
47 |
arbitrary code with the privileges of the user running the application. |
48 |
|
49 |
Workaround |
50 |
========== |
51 |
|
52 |
There is no known workaround at this time. |
53 |
|
54 |
Resolution |
55 |
========== |
56 |
|
57 |
All Hashcash users should upgrade to the latest version: |
58 |
|
59 |
# emerge --sync |
60 |
# emerge --ask --oneshot --verbose ">=net-misc/hashcash-1.21" |
61 |
|
62 |
References |
63 |
========== |
64 |
|
65 |
[ 1 ] Hashcash ChangeLog |
66 |
http://www.hashcash.org/source/CHANGELOG |
67 |
|
68 |
Availability |
69 |
============ |
70 |
|
71 |
This GLSA and any updates to it are available for viewing at |
72 |
the Gentoo Security Website: |
73 |
|
74 |
http://security.gentoo.org/glsa/glsa-200606-25.xml |
75 |
|
76 |
Concerns? |
77 |
========= |
78 |
|
79 |
Security is a primary focus of Gentoo Linux and ensuring the |
80 |
confidentiality and security of our users machines is of utmost |
81 |
importance to us. Any security concerns should be addressed to |
82 |
security@g.o or alternatively, you may file a bug at |
83 |
http://bugs.gentoo.org. |
84 |
|
85 |
License |
86 |
======= |
87 |
|
88 |
Copyright 2006 Gentoo Foundation, Inc; referenced text |
89 |
belongs to its owner(s). |
90 |
|
91 |
The contents of this document are licensed under the |
92 |
Creative Commons - Attribution / Share Alike license. |
93 |
|
94 |
http://creativecommons.org/licenses/by-sa/2.5 |