stunnel: Information disclosure — GLSA 201408-14

A vulnerability in stunnel might allow remote attackers to gain access to private key information.

Affected Packages

net-misc/stunnel on all architectures
Affected versions < 5.02
Unaffected versions >= 5.02

Background

The stunnel program is designed to work as an SSL encryption wrapper between a client and a local or remote server.

Description

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.

Impact

A remote attacker may gain access to private key information from ECDSA or DSA keys.

Workaround

There is no known workaround at this time.

Resolution

All stunnel users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=net-misc/stunnel-5.02"
 

References

Release Date
August 29, 2014

Latest Revision
August 29, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries