Hi Alex, Thanks for sharing this info. I tried to get the diff and it complains about "V5-7-patches".
git diff v5.7.1 V5-7-patches snmplib/snmp_api.c > fix-5.7.1.patch fatal: ambiguous argument 'V5-7-patches': unknown revision or path not in the working tree. Use '--' to separate paths from revisions git branch * master Thanks & Regards, Sampath On Fri, Aug 28, 2015 at 5:41 AM, Alexander Bergmann <abergm...@suse.com> wrote: > Hi Sampathkumar, > > you can use git to get you a patch diff for this fix. > > Just clone the repo and run the following command. > > #> git diff v5.7.1 V5-7-patches snmplib/snmp_api.c > fix-5.7.1.patch > > Then edit the file and delete everything execpt of changes inside the > snmp_pdu_parse() function. Double check with the original fix and you > are done. > > Hope that helps, > Alex~ > > On Thu, Aug 27, 2015 at 12:25:41AM -0700, Sampathkumar Santhanakrishnan wrote: >> Hello, >> I am looking for net-snmp 5.7.1 based patch for CVE-2015-5621 >> >> "The snmp_pdu_parse function in snmp_api.c in net-snmp 5.7.2 and >> earlier does not remove the varBind variable in a >> netsnmp_variable_list item when parsing of the SNMP PDU fails, which >> allows remote attackers to cause a denial of service (crash) and >> possibly execute arbitrary code via a crafted packet." >> >> Can someone help on this ? >> >> Thanks & Regards, >> Sampajtj >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Net-snmp-coders mailing list >> Net-snmp-coders@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders >> > > -- > Alexander Bergmann <abergm...@suse.com>, Security Engineer, > SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, > Graham Norton, HRB 21284 (AG Nürnberg) ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders