MGASA-2014-0144

Source
https://advisories.mageia.org/MGASA-2014-0144.html
Import Source
https://advisories.mageia.org/MGASA-2014-0144.json
JSON Data
https://api.osv.dev/v1/vulns/MGASA-2014-0144
Upstream
  • CVE-2014-0016
Published
2014-03-31T19:40:37Z
Modified
2026-04-16T06:26:05.009157512Z
Summary
Updated stunnel package fixes security vulnerability
Details

A flaw was found in the way stunnel, a socket wrapper which can provide SSL support to ordinary applications, performed (re)initialization of PRNG after fork. When accepting a new connection, the server forks and the child process handles the request. The RAND_bytes() function of openssl doesn't reset its state after the fork, but seeds the PRNG with the output of time(NULL). The most important consequence is that servers using EC (ECDSA) or DSA certificates may under certain conditions leak their private key (CVE-2014-0016).

The updated packages fix this issue by using threads instead of new processes to handle connections.

Also an issue has been corrected where the directory for the pid file was not being created when the package is installed.

An issue currently exists in Mageia 4 where it fails trying to use FIPS SSL (mga#13124). This can be worked around by adding fips = no into the config.

References
Credits

Affected packages

Mageia:3 / stunnel

Package

Name
stunnel
Purl
pkg:rpm/mageia/stunnel?arch=source&distro=mageia-3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.55-1.2.mga3

Ecosystem specific

{
    "section": "core"
}

Database specific

source
"https://advisories.mageia.org/MGASA-2014-0144.json"

Mageia:4 / stunnel

Package

Name
stunnel
Purl
pkg:rpm/mageia/stunnel?arch=source&distro=mageia-4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.56-3.2.mga4

Ecosystem specific

{
    "section": "core"
}

Database specific

source
"https://advisories.mageia.org/MGASA-2014-0144.json"