Bug 456660 - (CVE-2008-3651) CVE-2008-3651 ipsec-tools: racoon memory leak caused by invalid proposals
CVE-2008-3651 ipsec-tools: racoon memory leak caused by invalid proposals
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
source=gentoo,reported=20080724,publi...
: Security
Depends On: 458629 458853 458854 458855 458856 458857 465472 465473
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-25 08:36 EDT by Tomas Hoger
Modified: 2016-03-04 07:36 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-11-07 03:11:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Patch from upstream CVS (2.42 KB, patch)
2008-08-12 13:16 EDT, Josh Bressers
no flags Details | Diff

  None (edit)
Description Tomas Hoger 2008-07-25 08:36:29 EDT
ipsec-tools upstream released 0.7.1 including a fix for a memory leak in racoon
daemon triggered by the invalid proposals, possibly resulting in a denial of
service once daemon runs out of memory.

References:
http://marc.info/?l=ipsec-tools-devel&m=121688914101709&w=2
http://bugs.gentoo.org/show_bug.cgi?id=232831

Upstream patch:
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/dist/ipsec-tools/src/racoon/proposal.c.diff?r1=1.15&r2=1.16&f=h
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/dist/ipsec-tools/ChangeLog.diff?r1=1.169&r2=1.170&f=h
Comment 2 Tomas Mraz 2008-07-31 04:47:49 EDT
The leaks patched in the mentioned patch can happen only when phase 1 is
completed. That means the attacker would have to be authenticated to be able to
make the leaks happen.
Comment 3 Josh Bressers 2008-08-11 13:05:43 EDT
Any guess on what "some configurations" could mean from the upstream announcement?
Comment 4 Tomas Mraz 2008-08-12 05:12:07 EDT
I am not sure about that - it seems to me that in almost any configuration the responder of the IKE negotiation is vulnerable. But as I said in the comment #2 this problem is in the Phase 2 exchange so that means the attacker has to be already authenticated.
Comment 6 Josh Bressers 2008-08-12 13:16:14 EDT
Created attachment 314117 [details]
Patch from upstream CVS
Comment 8 Tomas Hoger 2008-08-13 03:16:30 EDT
CVE id CVE-2008-3651 was assigned to this issue:

Memory leak in racoon/proposal.c in the racoon daemon in ipsec-tools
before 0.7.1 allows remote authenticated users to cause a denial of
service (memory consumption) via invalid proposals.
Comment 10 Fedora Update System 2008-10-18 08:07:14 EDT
ipsec-tools-0.7.1-5.fc8 has been submitted as an update for Fedora 8.
http://admin.fedoraproject.org/updates/ipsec-tools-0.7.1-5.fc8
Comment 11 Fedora Update System 2008-10-18 08:08:23 EDT
ipsec-tools-0.7.1-5.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/ipsec-tools-0.7.1-5.fc9
Comment 12 Fedora Update System 2008-11-06 21:53:03 EST
ipsec-tools-0.7.1-5.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 Fedora Update System 2008-11-06 21:58:07 EST
ipsec-tools-0.7.1-5.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.