Menu

#5 buffer overflow fix

accepted
Mij
None
5
2015-03-01
2009-06-17
T.J. Jones
No

small fix to prevent buffer overflow in the pidfilename received from cmdline

Discussion

  • T.J. Jones

    T.J. Jones - 2009-06-17

    patch for sshguard_procauth.c

     
  • T.J. Jones

    T.J. Jones - 2009-06-17

    if sshguard is setuid and attacker has access to the box, root can be gained using crafted input.
    Changes:
    Changed the size of pidfilename array to FILENAME_MAX and then check to make sure the length of the supplied filename is within this limit. If not the error is logged and application terminates.

     
  • Mij

    Mij - 2009-07-14
    • assigned_to: nobody --> mijio
    • status: open --> closed-fixed
     
  • Mij

    Mij - 2009-07-14

    integrated

     
  • Kevin Zheng

    Kevin Zheng - 2015-03-01
    • Status: closed-fixed --> accepted
     

Log in to post a comment.