First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 264346
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Eray Aslan <eray.aslan@caf.com.tr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
strongswan-4.2.14.ebuild version bump text/plain Norbert Marx 2009-04-04 09:16 0000 3.00 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 264346 depends on: Show dependency tree
Bug 264346 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-03-31 03:29 0000
==========================================================================
Openswan & Strongswan Security Notification  March 30, 2009
Remote DoS Vulnerability in Openswan & Strongswan IPsec
CVE-2009-0790
==========================================================================
A vulnerability in the Dead Peer Detection (RFC-3706) code was found by
Gerd v. Egidy <gerd.von.egidy@intra2net.com> of Intra2net AG affecting
all Openswan and all Strongswan releases.

A malicious (or expired ISAKMP) R_U_THERE or R_U_THERE_ACK Dead Peer
Detection packet can cause the pluto IKE daemon to crash and restart. No
authentication or encryption is required to trigger this bug. One spoofed
UDP packet can cause the pluto IKE daemon to restart and be unresponsive
for a few seconds while restarting.

A patch was created by Paul Wouters <paul@xelerance.com> for Openswan and
Strongswan.

This bug affects the following software releases:

Current branches:

Openswan-2.6.20 and earlier
Strongswan-4.2.13 and earlier

Maintenance mode branches:

Openswan-2.4.13 and earlier
Strongswan-2.8.8 and earlier

End of Life branches:

Superfreeswan-1.9x
Openswan-1.x
Openswan-2.0.x - 2.3.1
Openswan-2.5.x

Everyone is strongly encouraged to upgrade to these minimum versions:

openswan-2.6.21
strongswan-4.2.14

openswan-2.4.14
strongswan-2.8.9

If you cannot upgrade to a new version, please apply the appropriate
patch as listed at http://www.openswan.org/CVE-2009-0790/

Dead Peer Detection is an IPsec IKE Notification message. It uses
an ICOOKIE/RCOOKIE mechanism to match an incoming packet to a know
Security Association (ISAKMP). Unlike most Notification messages, DPD
notifications have no phase2 state association.  Incorrect handling of
this exception can cause a NULL pointer dereference on a non-existing
state object 'st'. This bug is triggered in the case where one end has
expired an ISAKMP state, but the other end still uses the old state
to send a DPD Notification.

Since this state-lookup is performed before any encryption or
decryption takes place, as we need to find the proper ISAKMP to locate
the cryptogrpahic key material used for decryption, this bug can be
triggered without going through a phase1 (ISAKMP) negotiation.

When such a packet is received, the pluto daemon crashes and restarts.

Locations for downloading patches and source code:
http://www.openswan.org/               http://www.strongswan.org/
ftp://ftp.openswan.org/openswan/       http://download1.strongswan.org/
ftp://ftp.openswan.fi/pub/openswan/    http://download2.strongswan.org/

Paul Wouters <paul@xelerance.com>
GPG key: 0xB5CC27E1
==========================================================================

Reproducible: Always

------- Comment #1 From Alex Legler 2009-03-31 08:28:08 0000 -------
Robin, I cc'd you as you did the last bumps for strongswan, maybe you feel like
bumping/patching this time, too.

All: Please either bump or apply the patches here:
http://www.openswan.org/CVE-2009-0790/

------- Comment #2 From Norbert Marx 2009-04-04 09:16:39 0000 -------
Created an attachment (id=187273) [details]
version bump

test on amd64:
- kernel 2.6.28 looks good
- xen DomU kernel 2.6.18 does not work

------- Comment #3 From Alin Năstac 2009-04-08 23:33:11 0000 -------
I've bumped openswan to the new versions.

amd64 & x86 teams, please stabilize net-misc/openswan-2.4.14.

------- Comment #4 From Weedy 2009-04-14 12:42:51 0000 -------
(In reply to comment #3)
> I've bumped openswan to the new versions.
> 
> amd64 & x86 teams, please stabilize net-misc/openswan-2.4.14.
> 

openswan-2.4.14-gentoo.patch fails to apply.

------- Comment #5 From Weedy 2009-04-14 13:00:15 0000 -------
(In reply to comment #4)
> (In reply to comment #3)
> > I've bumped openswan to the new versions.
> > 
> > amd64 & x86 teams, please stabilize net-misc/openswan-2.4.14.
> > 
> 
> openswan-2.4.14-gentoo.patch fails to apply.
> 
line 54 should be:
 # RCSID $Id: ipsec.conf.in,v 1.15.2.6 2006-10-19 03:49:46 paul Exp $
unless you plan to change that to reflect the edit.

Sorry for the double post.

------- Comment #6 From Alin Năstac 2009-04-15 06:40:16 0000 -------
Resynchronize your tree. This issue has been fixed days ago.

------- Comment #7 From Markus Meier 2009-04-15 19:11:12 0000 -------
(In reply to comment #6)
> Resynchronize your tree. This issue has been fixed days ago.

I synced maybe an hour ago and it still fails here...

>>> Source unpacked in /var/tmp/portage/net-misc/openswan-2.4.14/work
 * Applying openswan-2.4.14-gentoo.patch ...

 * Failed Patch: openswan-2.4.14-gentoo.patch !
 *  ( /usr/portage/net-misc/openswan/files/openswan-2.4.14-gentoo.patch )
 *
 * Include in your bugreport the contents of:
 *
 *  
/var/tmp/portage/net-misc/openswan-2.4.14/temp/openswan-2.4.14-gentoo.patch-26405.out

------- Comment #8 From Alin Năstac 2009-04-15 21:04:23 0000 -------
I tried to fix it by running cvs update -kb, but cvs seems unable to add flags
to existing files, so I've replaced the gentoo.patch with gentoo-fixed.patch
(this time added with -kb).
Sorry for the troble... Did I mentioned I hate cvs?

------- Comment #9 From Robin Johnson 2009-04-15 22:38:30 0000 -------
mrness: fyi for future. if you fail to add a file with -kb the first time, you
must do this to fix it: cvs rm -f $file ; cvs ci $file ; cvs add -kb ; repoman
commit ....
The commit in the middle is not optional.

------- Comment #10 From Markus Meier 2009-04-23 18:43:35 0000 -------
amd64/x86 stable, all arches done.

------- Comment #11 From Tobias Heinlein 2009-04-24 12:51:36 0000 -------
Ready for vote, I vote YES.

------- Comment #12 From Robert Buchholz 2009-06-07 15:06:10 0000 -------
+*strongswan-4.2.15 (07 Jun 2009)
+
+  07 Jun 2009; Robert Buchholz <rbu@gentoo.org> +strongswan-4.2.15.ebuild:
+  Version bump, fixes security bug 264346 and 272276. Remove old warning in
+  the code, fix dependencies and configure options. Comment in user and group
+  specification again. Added some TODOs.

strongswan is ~arch only.

------- Comment #13 From Stefan Behte 2009-06-12 22:25:17 0000 -------
Yes, too. Request filed.

------- Comment #14 From Stefan Behte 2009-06-23 20:22:14 0000 -------
FAIL. Closing noglsa, of course.

------- Comment #15 From Robert Buchholz 2009-06-24 00:30:42 0000 -------
let's track this as open until the glsa for openswan is out.

------- Comment #16 From Stefan Behte 2009-06-24 04:58:07 0000 -------
Sure. I apologize, I saw #12 and #13 and thought I had made a mistake, I didn't
look hard enough. :(

------- Comment #17 From Alex Legler 2009-09-09 13:33:56 0000 -------
GLSA 200909-05

First Last Prev Next    No search results available      Search page      Enter new bug