doc/share/security/patches/SA-13:08/nfsserver.patch
Xin LI 223eda903e Add two latest advisories:
Fix Denial of Service vulnerability in named(8). [13:07]

  Fix a bug that allows remote client bypass the normal
  access checks when when -network or -host restrictions are
  used at the same time with -mapall. [13:08]
2013-07-27 03:39:12 +00:00

13 lines
528 B
Diff

Index: sys/kern/vfs_export.c
===================================================================
--- sys/kern/vfs_export.c (revision 253367)
+++ sys/kern/vfs_export.c (working copy)
@@ -208,7 +208,7 @@
np->netc_anon = crget();
np->netc_anon->cr_uid = argp->ex_anon.cr_uid;
crsetgroups(np->netc_anon, argp->ex_anon.cr_ngroups,
- np->netc_anon->cr_groups);
+ argp->ex_anon.cr_groups);
np->netc_anon->cr_prison = &prison0;
prison_hold(np->netc_anon->cr_prison);
np->netc_numsecflavors = argp->ex_numsecflavors;