portage-ng / portage / net-misc / stunnel / 5.77
portage-ng glsa
6 advisories reference net-misc/stunnel · none place version 5.77 in a vulnerable range
▸ GLSA 202105-02 stunnel: Improper certificate validation this version unaffected low local, remote 2021-05-26

Stunnel was not properly verifying TLS certificates, possibly allowing an integrity/confidentiality compromise.

Announced
2021-05-26
Revised
2021-05-26
Access
local, remote
Bugs
#772146
Advisory
https://security.gentoo.org/glsa/202105-02

Affected packages

PackageArchVulnerableUnaffected
net-misc/stunnel*< 5.58>= 5.58

Background

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

Description

It was discovered that stunnel did not correctly verified the client certificate when options “redirect” and “verifyChain” are used.

Impact

A remote attacker could send a specially crafted certificate, possibly resulting in a breach of integrity or confidentiality.

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.58"

References

▸ GLSA 201408-14 stunnel: Information disclosure this version unaffected normal remote 2014-08-29

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

Announced
2014-08-29
Revised
2014-08-29
Access
remote
Bugs
#503506
Advisory
https://security.gentoo.org/glsa/201408-14

Affected packages

PackageArchVulnerableUnaffected
net-misc/stunnel*< 5.02>= 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

▸ GLSA 201402-08 stunnel: Arbitrary code execution this version unaffected normal remote 2014-02-06

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

Announced
2014-02-06
Revised
2014-02-07 (revision 4)
Access
remote
Bugs
#460278
Advisory
https://security.gentoo.org/glsa/201402-08

Affected packages

PackageArchVulnerableUnaffected
net-misc/stunnel*< 4.56-r1>= 4.56-r1, < 4.00

Background

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

Description

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

Impact

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.

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-4.56-r1"

References

▸ GLSA 201202-08 stunnel: Arbitrary code execution this version unaffected normal remote 2012-02-29

A vulnerability was found in stunnel, allowing remote attackers to cause a Denial of Service and potentially arbitrary code execution.

Announced
2012-02-29
Revised
2012-07-30 (revision 2)
Access
remote
Bugs
#379859
Advisory
https://security.gentoo.org/glsa/201202-08

Affected packages

PackageArchVulnerableUnaffected
net-misc/stunnel*< 4.44>= 4.44, < 4

Background

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

Description

An unspecified heap vulnerability was discovered in stunnel.

Impact

The vulnerability may possibly be leveraged to perform remote code execution or a Denial of Service attack.

Workaround

There is no known workaround at this time.

Resolution

All stunnel 4.x users should upgrade to the latest version:

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

References

▸ GLSA 200808-08 stunnel: Security bypass this version unaffected low remote 2008-08-08

stunnel does not properly prevent the authentication of a revoked certificate which would be published by OCSP.

Announced
2008-08-08
Revised
2009-08-09 (revision 2)
Access
remote
Bugs
#222805
Advisory
https://security.gentoo.org/glsa/200808-08

Affected packages

PackageArchVulnerableUnaffected
net-misc/stunnel*< 4.24>= 4.24, < 4

Background

The stunnel program is designed to work as an SSL encryption wrapper between a remote client and a local or remote server. OCSP (Online Certificate Status Protocol), as described in RFC 2560, is an internet protocol used for obtaining the revocation status of an X.509 digital certificate.

Description

An unspecified bug in the OCSP search functionality of stunnel has been discovered.

Impact

A remote attacker can use a revoked certificate that would be successfully authenticated by stunnel. This issue only concerns the users who have enabled the OCSP validation in stunnel.

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-4.24"

References

▸ GLSA 200803-30 ssl-cert eclass: Certificate disclosure this version unaffected normal remote 2008-03-20

An error in the usage of the ssl-cert eclass within multiple ebuilds might allow for disclosure of generated SSL private keys.

Announced
2008-03-20
Revised
2008-03-20
Access
remote
Bugs
#174759
Advisory
https://security.gentoo.org/glsa/200803-30

Affected packages

PackageArchVulnerableUnaffected
app-admin/conserver*< 8.1.16>= 8.1.16
mail-mta/postfix*< 2.4.6-r2>= 2.4.6-r2, >= 2.3.8-r1 (revision), >= 2.2.11-r1 (revision)
net-ftp/netkit-ftpd*< 0.17-r7>= 0.17-r7
net-im/ejabberd*< 1.1.3>= 1.1.3
net-irc/unrealircd*< 3.2.7-r2>= 3.2.7-r2
net-mail/cyrus-imapd*< 2.3.9-r1>= 2.3.9-r1
net-mail/dovecot*< 1.0.10>= 1.0.10
net-misc/stunnel*< 4.21-r1>= 4.21-r1, < 4.0
net-nntp/inn*< 2.4.3-r1>= 2.4.3-r1

Background

The ssl-cert eclass is a code module used by Gentoo ebuilds to generate SSL certificates.

Description

Robin Johnson reported that the docert() function provided by ssl-cert.eclass can be called by source building stages of an ebuild, such as src_compile() or src_install(), which will result in the generated SSL keys being included inside binary packages (binpkgs).

Impact

A local attacker could recover the SSL keys from publicly readable binary packages when "emerge" is called with the "--buildpkg (-b)" or "--buildpkgonly (-B)" option. Remote attackers can recover these keys if the packages are served to a network. Binary packages built using "quickpkg" are not affected.

Workaround

Do not use pre-generated SSL keys, but use keys that were generated using a different Certificate Authority.

Resolution

Upgrading to newer versions of the above packages will neither remove possibly compromised SSL certificates, nor old binary packages. Please remove the certificates installed by Portage, and then emerge an upgrade to the package.

All Conserver users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-admin/conserver-8.1.16"

All Postfix 2.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.4.6-r2"

All Postfix 2.3 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.3.8-r1"

All Postfix 2.2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=mail-mta/postfix-2.2.11-r1"

All Netkit FTP Server users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/netkit-ftpd-0.17-r7"

All ejabberd users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-im/ejabberd-1.1.3"

All UnrealIRCd users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-irc/unrealircd-3.2.7-r2"

All Cyrus IMAP Server users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/cyrus-imapd-2.3.9-r1"

All Dovecot users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/dovecot-1.0.10"

All stunnel 4 users should upgrade to the latest version:

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

All InterNetNews users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-nntp/inn-2.4.3-r1"

References