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 583997 Details for
Bug 820677
CVE-2012-2337 sudo: Multiple netmask values used in Host / Host_List configuration cause any host to be allowed access
[?]
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]
Proposed sudo-v1.8.x patch from Todd C.Miller
match_addr.c.diff (text/plain), 1.06 KB, created by
Jan Lieskovsky
on 2012-05-12 12:58:34 UTC
(
hide
)
Description:
Proposed sudo-v1.8.x patch from Todd C.Miller
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2012-05-12 12:58:34 UTC
Size:
1.06 KB
patch
obsolete
>--- match_addr.c Thu May 10 15:05:33 2012 >+++ match_addr.c.CVE-2012-2337 Thu May 10 14:02:48 2012 >@@ -74,7 +74,7 @@ > for (ifp = interfaces; ifp != NULL; ifp = ifp->next) { > if (ifp->family != family) > continue; >- switch(family) { >+ switch (family) { > case AF_INET: > if (ifp->addr.ip4.s_addr == addr.ip4.s_addr || > (ifp->addr.ip4.s_addr & ifp->netmask.ip4.s_addr) >@@ -92,6 +92,7 @@ > } > if (j == sizeof(addr.ip6.s6_addr)) > debug_return_bool(true); >+ break; > #endif /* HAVE_STRUCT_IN6_ADDR */ > } > } >@@ -156,10 +157,11 @@ > for (ifp = interfaces; ifp != NULL; ifp = ifp->next) { > if (ifp->family != family) > continue; >- switch(family) { >+ switch (family) { > case AF_INET: > if ((ifp->addr.ip4.s_addr & mask.ip4.s_addr) == addr.ip4.s_addr) > debug_return_bool(true); >+ break; > #ifdef HAVE_STRUCT_IN6_ADDR > case AF_INET6: > for (j = 0; j < sizeof(addr.ip6.s6_addr); j++) { >@@ -168,6 +170,7 @@ > } > if (j == sizeof(addr.ip6.s6_addr)) > debug_return_bool(true); >+ break; > #endif /* HAVE_STRUCT_IN6_ADDR */ > } > }
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 820677
:
583996
| 583997