Skip to contentSkip to conversation

OpenVPN 2.0.4 Released -- Note security fixes

Openvpn-devel James Yonan 3 participants 7 messages Nov 1, 2005 – Nov 3, 2005

lore
Share & tools
lore
#0 lore raw

This release contains fixes for two security issues that just came to my attention over the past 24 hours, which affect OpenVPN 2.0, 2.0.1, 2.0.2, and the 2.1 beta series. OpenVPN 1.x is not affected.

Individual patches are available here:

http://openvpn.net/patch/2.0.4-security-patches

Change Log:

* Security fix -- Affects non-Windows OpenVPN clients of version 2.0 or higher which connect to a malicious or compromised server. A format string vulnerability in the foreign_option function in options.c could potentially allow a malicious or compromised server to execute arbitrary code on the client. Only non-Windows clients are affected. The vulnerability only exists if (a) the client's TLS negotiation with the server succeeds, (b) the server is malicious or has been compromised such that it is configured to push a maliciously crafted options string to the client, and (c) the client indicates its willingness to accept pushed options from the server by having "pull" or "client" in its configuration file (Credit: Vade79). CVE-2005-3393
* Security fix -- Potential DoS vulnerability on the server in TCP mode. If the TCP server accept() call returns an error status, the resulting exception handler may attempt to indirect through a NULL pointer, causing a segfault. Affects all OpenVPN 2.0 versions. CVE-2005-3409
* Fix attempt of assertion at multi.c:1586 (note that this precise line number will vary across different versions of OpenVPN).
* Added ".PHONY: plugin" to Makefile.am to work around "make dist" issue.
* Fixed double fork issue that occurs when --management-hold is used.
* Moved TUN/TAP read/write log messages from --verb 8 to 6.
* Warn when multiple clients having the same common name or username usurp each other when --duplicate-cn is not used.
* Modified Windows and Linux versions of get_default_gateway to return the route with the smallest metric
if multiple 0.0.0.0/0.0.0.0 entries are present.

James

#1 lore raw
Quoted 3 lines · James Yonan

This release contains fixes for two security issues that just came to my attention over the past 24 hours, which affect OpenVPN 2.0, 2.0.1, 2.0.2, and the 2.1 beta series. OpenVPN 1.x is not affected.

Thanks for the quick fixes.

I understand that the release focus has been anything but helper scripts, however I found that the easy-rsa/2.0/ directory disappeared, it was present in 2.0.2 and gone in 2.0.4. What's the story about easy-rsa/* and easy-rsa/2.0/* in the distribution tarballs, and what has become of easy-rsa/2.0 in release 2.0.4?

Thanks,

Signature · 1 line
Matthias Andree
#2 lore raw
Quoted 6 lines · Matthias Andree
Quoted 3 lines · James Yonan

This release contains fixes for two security issues that just came to my attention over the past 24 hours, which affect OpenVPN 2.0, 2.0.1, 2.0.2, and the 2.1 beta series. OpenVPN 1.x is not affected.

Quoted 7 lines

Thanks for the quick fixes.

I understand that the release focus has been anything but helper scripts, however I found that the easy-rsa/2.0/ directory disappeared, it was present in 2.0.2 and gone in 2.0.4. What's the story about easy-rsa/* and easy-rsa/2.0/* in the distribution tarballs, and what has become of easy-rsa/2.0 in release 2.0.4?

That's an oversight... It looks like it was accidently dropped from the tarball during the CVS -> SVN migration.

It is, however, present (and the default) in the 2.1-beta releases in easy-rsa/

You can also get it directly from the svn repository:

http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn/easy-rsa/

James

#3 lore raw
Quoted 7 lines · James Yonan
Quoted 4 lines · Matthias Andree

... however I found that the easy-rsa/2.0/ directory disappeared,
it was present in 2.0.2 and gone in 2.0.4. What's the story about easy-rsa/* and easy-rsa/2.0/* in the distribution tarballs, and what has become of easy-rsa/2.0 in release 2.0.4?

Quoted 5 lines

That's an oversight... It looks like it was accidently dropped from the tarball during the CVS -> SVN migration.

It is, however, present (and the default) in the 2.1-beta releases in easy-rsa/

Could you perhaps provide a tarball that unpacks into openvpn-2.0.4/easy-rsa/2.0/ at the same place as the openvpn-2.0.4.tar.gz?

The FreeBSD port is now at version 2.0.4, I'd however like to restore the 2.0.2 file layout with easy-rsa/2.0 in place in a revision of the port (2.0.4_1 perhaps).

An officially shipped easy-rsa-2.0[_rc1] tarball would help us distributors quite a bit. FreeBSD prefers readable patches or files in the ports system over binary (i. e. a "shar" archive or perhaps uuencoded .tar.gz), and while I could theoretically ship a uuencoded .tar.gz, I'd prefer not to bloat the FreeBSD ports (which are actually only build instructions, file lists, MD5 sums) with another 50 or perhaps 14 kB.

Signature · 1 line
Matthias Andree
#4 lore raw
Quoted 23 lines · Matthias Andree
Quoted 7 lines · James Yonan
Quoted 4 lines · Matthias Andree

... however I found that the easy-rsa/2.0/ directory disappeared,
it was present in 2.0.2 and gone in 2.0.4. What's the story about easy-rsa/* and easy-rsa/2.0/* in the distribution tarballs, and what has become of easy-rsa/2.0 in release 2.0.4?

Quoted 5 lines

That's an oversight... It looks like it was accidently dropped from the tarball during the CVS -> SVN migration.

It is, however, present (and the default) in the 2.1-beta releases in easy-rsa/

Could you perhaps provide a tarball that unpacks into openvpn-2.0.4/easy-rsa/2.0/ at the same place as the openvpn-2.0.4.tar.gz?

The FreeBSD port is now at version 2.0.4, I'd however like to restore the 2.0.2 file layout with easy-rsa/2.0 in place in a revision of the port (2.0.4_1 perhaps).

Quoted 7 lines

An officially shipped easy-rsa-2.0[_rc1] tarball would help us distributors quite a bit. FreeBSD prefers readable patches or files in the ports system over binary (i. e. a "shar" archive or perhaps uuencoded .tar.gz), and while I could theoretically ship a uuencoded .tar.gz, I'd prefer not to bloat the FreeBSD ports (which are actually only build instructions, file lists, MD5 sums) with another 50 or perhaps 14 kB.

Ok, I've made the change via "svn propset svn:externals" to make the easy-rsa/2.0 directory point to the source svn URL in the 2.1-beta branch.

So you can build your tarball as such:

svn co -r 760 http://svn.openvpn.net/projects/openvpn/trunk/openvpn openvpn cd openvpn
autoreconf -i -v
./configure
make dist

James

#5 lore raw
Quoted 7 lines · James Yonan

So you can build your tarball as such:

svn co -r 760 http://svn.openvpn.net/projects/openvpn/trunk/openvpn openvpn cd openvpn
autoreconf -i -v
./configure
make dist

I prefer the 2.0.5 port.

BTW, are there official download mirrors for OpenVPN? The FreeBSD ports system suggests to add some.

Signature · 1 line
Matthias Andree
#6 lore raw
Quoted 10 lines · Matthias Andree
Quoted 7 lines · James Yonan

So you can build your tarball as such:

svn co -r 760 http://svn.openvpn.net/projects/openvpn/trunk/openvpn openvpn cd openvpn
autoreconf -i -v
./configure
make dist

Quoted 4 lines

I prefer the 2.0.5 port.

BTW, are there official download mirrors for OpenVPN? The FreeBSD ports system suggests to add some.

I would prefer to keep the downloads on openvpn.net (or a clone of the website) for the principal reason that donations are an important source of funding for the project, and people are more likely to donate if they are reminded that it is an option during the download process.

As far as reliability is concerned, openvpn.net has the capability to dynamically fail over between two mirrored servers at different data centers. Right now the domain is pointing to the backup server because I'm in the process of migrating to a new primary server, so the failover is temporarily turned off.

The new primary is at The Planet -- here's the details on their data center:

http://www.theplanet.com/network/

The planet has high bandwidth limits, 1200 GB per month, far more than openvpn.net needs at this point, and with the dynamic failover in place, I think most of the issues regarding reliability are well-covered.

James