Gentoo Logo

stunnel: Arbitrary code execution


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201402-08 / stunnel
Release Date February 06, 2014
Latest Revision February 07, 2014: 4
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-misc/stunnel < 4.56-r1 >= 4.56-r1, < 4.00 All supported architectures

Related bugreports: #460278


A vulnerability has been found in stunnel, allowing for the execution of arbitrary code.

2.  Impact Information


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


A buffer overflow vulnerability has been discovered in stunnel. Please review the CVE identifier referenced below for details.


A remote attacker could entice a user to connect to a malicious proxy server, resulting in the execution of arbitrary code within the configured chroot directory, with the privileges of the user running stunnel. Please review the references below for details.

3.  Resolution Information


There is no known workaround at this time.


All stunnel users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References


Page updated February 06, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.