Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 152467 Details for
Bug 236121
LSPP: racoon has a buffer overflow when receiving large security context from kernel
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Check that security context string doesn't overflow the buffer.
patch.0412.1 (text/plain), 699 bytes, created by
Joy Latten
on 2007-04-12 15:37:10 UTC
(
hide
)
Description:
Check that security context string doesn't overflow the buffer.
Filename:
MIME Type:
Creator:
Joy Latten
Created:
2007-04-12 15:37:10 UTC
Size:
699 bytes
patch
obsolete
>diff -urpN ipsec-tools-0.6.5/src/racoon/pfkey.c ipsec-tools-0.6.5.patch/src/racoon/pfkey.c >--- ipsec-tools-0.6.5/src/racoon/pfkey.c 2007-04-12 09:21:35.000000000 -0500 >+++ ipsec-tools-0.6.5.patch/src/racoon/pfkey.c 2007-04-12 09:23:10.000000000 -0500 >@@ -1735,6 +1735,12 @@ pk_recvacquire(mhp) > m_sec_ctx = (struct sadb_x_sec_ctx *)mhp[SADB_X_EXT_SEC_CTX]; > > if (m_sec_ctx != NULL) { >+ if (m_sec_ctx->sadb_x_ctx_len > MAX_CTXSTR_SIZE) { >+ plog(LLV_ERROR, LOCATION, NULL, >+ "ignoring ACQUIRE: security context is greater than MAX, %d.\n", >+ MAX_CTXSTR_SIZE); >+ return -1; >+ } > plog(LLV_INFO, LOCATION, NULL, > "security context doi: %u\n", > m_sec_ctx->sadb_x_ctx_doi);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236121
:
152458
| 152467