[OpenSIPS-Users] [OpenSIPS Security Alerts] [FIX][Severity Low] Dispatcher module

Vlad Paiu vladpaiu at opensips.org
Fri Sep 14 12:25:03 CEST 2012


This message was generated by the Security Alerts service ( Free Trial 14th of August - 14th of September )
http://www.opensips.org/Resources/AlertsMain*

SVN commit*:
http://opensips.svn.sourceforge.net/viewvc/opensips?view=revision&revision=9229

*Severity*: Low

*Version*  : 1.8, trunk

*Affected modules*  : Dispatcher

*Effect*  : Wrong value populated in the ATTRS AVP

*Affected scenarios*: When using ds_is_in_list() in order to identify if a SIP message
is originating from the gateway side, and also relying on the dispatcher module to
push custom information for the matched gateway ( based on the attrs AVP ), the AVP
will not have the proper value for the matched gateway

*Description*  : When setting the AVP, there was a small bug in the dispatcher module,
which lead to the AVP always getting populated with the ATTRS value for the first
gateway in the set, instead of the actual matched gateway.

*Risks*  : Low, if relying on such functionality on your OpenSIPS, you should
update, in order to get consistent information in the OpenSIPS script.

*Update*  :
- if you have an SVN checkout, only 1.8 and trunk were fixed; so
update to a revision later than 9229 (trunk) or 9230 (1.8 branch) ;
- if you have OpenSIPS from sources, download and apply the patch from
http://opensips.svn.sourceforge.net/viewvc/opensips/trunk/modules/dispatcher/dispatch.c?view=patch&r1=9230&r2=9229&pathrev=9230
or see the attached patch;
- if using tarballs, they were already regenerated (and include the fix)
- If using the official Debian package (apt.opensips.org), they are also
re-generated including the fix.

-- 
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120914/f2700343/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispatcher_attrs-9230.patch
Type: text/x-patch
Size: 369 bytes
Desc: not available
URL: <http://lists.opensips.org/pipermail/users/attachments/20120914/f2700343/attachment.bin>
-------------- next part --------------
_______________________________________________
Alerts mailing list
Alerts at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/alerts


More information about the Users mailing list