A vulnerability in stunnel might allow remote attackers to gain access to private key information.
|Package||net-misc/stunnel on all architectures|
|Affected versions||< 5.02|
|Unaffected versions||>= 5.02|
The stunnel program is designed to work as an SSL encryption wrapper between a client and a local or remote server.
stunnel does not properly update the state of the pseudo-random generator after fork-threading which causes subsequent children with the same process ID to use the same entropy pool. ECDSA and DSA keys, when not used in deterministic mode (RFC6979), rely on random data for its k parameter to not leak private key information.
A remote attacker may gain access to private key information from ECDSA or DSA keys.
There is no known workaround at this time.
All stunnel users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/stunnel-5.02"
August 29, 2014
August 29, 2014: 1