Bug 204015 - [PATCH] net/miniupnpd: Update to 1.9.20150922
Summary: [PATCH] net/miniupnpd: Update to 1.9.20150922
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Renato Botelho
URL:
Keywords: easy, needs-qa, patch
Depends on:
Blocks:
 
Reported: 2015-10-25 14:01 UTC by Bernard Spil
Modified: 2015-11-11 10:11 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (squat)
koobs: merge-quarterly?


Attachments
svn diff for net/miniupnpd (885 bytes, text/plain)
2015-10-25 14:01 UTC, Bernard Spil
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2015-10-25 14:01:57 UTC
Created attachment 162444 [details]
svn diff for net/miniupnpd

Hi,

This PR is a followup to #203705 where net/miniupnpc was updated to fix a vulnerability. This patch aligns miniupnpd to that same time.
	
There have been security related updates to miniupnp based on some Talos finds (http://talosintel.com/reports/TALOS-2015-0035/)

Kind regards,

Bernard.
Comment 1 Tor Halvard Furulund 2015-10-26 23:41:46 UTC
As maintainer I approve this update. (But I do not think the Talos note for miniupnpc is relevant for miniupnpd?)

The changelog states these commit messages:

2015/09/22:
  cleanup UPNP_VERSION macro / add UPNP_VERSION_MAJOR, UPNP_VERSION_MINOR
  Dont use packed structs anymore to read/write PCP messages

2015/09/15:
  use name server from query in SOAP responses

2015/08/25:
  better bind socket to right interface(s),
    using struct ip_mreqn, SO_BINDTODEVICE
Comment 2 Jason Unovitch freebsd_committer freebsd_triage 2015-10-27 00:49:18 UTC
Bernard,
Thanks for the report.  According to the Talos document "Buffer overflow is present in client-side, miniupnpc, part of the library".

I did a git clone of https://github.com/miniupnp/miniupnp and only see the function/variable referenced as being vulnerable in the miniupnpc directory and not in miniupnpd.  The change for the fix in https://github.com/miniupnp/miniupnp/commit/79cca974a4c2ab1199786732a67ff6d898051b78 is only for miniupnpc.

If you see something I didn't then I would appreciate the pointer.  Otherwise I'm going to go ahead and remove the 'security' tag and considered this a routine update.
Comment 3 commit-hook freebsd_committer freebsd_triage 2015-11-11 10:08:53 UTC
A commit references this bug:

Author: garga
Date: Wed Nov 11 10:08:48 UTC 2015
New revision: 401232
URL: https://svnweb.freebsd.org/changeset/ports/401232

Log:
  Update net/miniupnpd to 1.9.20150922

  PR:		204015
  Submitted by:	brnd
  Approved by:	Tor Halvard Furulund (maintainer)

Changes:
  head/net/miniupnpd/Makefile
  head/net/miniupnpd/distinfo