[OpenSIPS-Devel] [OpenSIPS/opensips] ec2416: xmpp: prevent unauthenticated message URI overflow

Răzvan Crainea noreply at github.com
Mon Sep 7 11:26:38 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: ec24165bc25fa462e08cdb33ee8071f58e166d36
      https://github.com/OpenSIPS/opensips/commit/ec24165bc25fa462e08cdb33ee8071f58e166d36
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/pua_xmpp/xmpp2simple.c
    M modules/xmpp/util.c
    M modules/xmpp/xmpp.c
    M modules/xmpp/xmpp.h
    M modules/xmpp/xmpp_component.c
    M modules/xmpp/xmpp_server.c

  Log Message:
  -----------
  xmpp: prevent unauthenticated message URI overflow

Require the component handshake or server dialback validation before accepting inbound XMPP message stanzas.

Fixes GHSA-5gm5-wj62-p234

Reported-by: SecBuddyF KeenLab Tencent (CodeBuddy Security) <tinkerzf at gmail.com>


  Commit: 2d842e2e60e774cc9c2ab3c5dff7a6b63898948c
      https://github.com/OpenSIPS/opensips/commit/2d842e2e60e774cc9c2ab3c5dff7a6b63898948c
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/domainpolicy/domainpolicy.c

  Log Message:
  -----------
  domainpolicy: keep DURI buffer length in sync

Fixes GHSA-4vg3-hjjc-xv58

Reported-by: SecBuddyF KeenLab Tencent (CodeBuddy Security) <tinkerzf at gmail.com>


  Commit: adc1e4e5681ed8f1024ffb4b4cabaab6c2714d73
      https://github.com/OpenSIPS/opensips/commit/adc1e4e5681ed8f1024ffb4b4cabaab6c2714d73
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/proto_msrp/msrp_parser.c
    M modules/proto_msrp/msrp_signaling.c

  Log Message:
  -----------
  proto_msrp: reject invalid To-Path header order

Require To-Path and From-Path to be the first MSRP headers in that
order, and guard the forwarding path against negative header span copies
before moving To-Path URLs into From-Path.

Fixes GHSA-qj7m-hgmv-pfrv

Reported-by: SecBuddyF KeenLab Tencent (CodeBuddy Security) <tinkerzf at gmail.com>


  Commit: 635ce1737eb27b12a4a4f12a1f0a1b6a4ee2f92d
      https://github.com/OpenSIPS/opensips/commit/635ce1737eb27b12a4a4f12a1f0a1b6a4ee2f92d
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/sip_i/sip_i.c

  Log Message:
  -----------
  sip_i: validate parsed ISUP parameter lengths

Fixes GHSA-qc7q-vrx3-3j4h

Reported-by: TristanInSec


  Commit: d3620b9ba28867459d3ea9f74094355ce56145c8
      https://github.com/OpenSIPS/opensips/commit/d3620b9ba28867459d3ea9f74094355ce56145c8
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/xmpp/util.c

  Log Message:
  -----------
  xmpp: reject overlong SIP-to-XMPP URIs early

Check the converted SIP-to-XMPP URI length before formatting it

Fixes GHSA-hwv5-237j-jq7m

Reported-by: TristanInSec


  Commit: bfc4360989605f9048cc2a6789b74e2b8c22d945
      https://github.com/OpenSIPS/opensips/commit/bfc4360989605f9048cc2a6789b74e2b8c22d945
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: fix reply Contact params bounds check

Fixes GHSA-5fj6-58f4-75r3

Reported-by: TristanInSec


  Commit: cb0dcbb9042b5635da9437a2cddb258b966e5e56
      https://github.com/OpenSIPS/opensips/commit/cb0dcbb9042b5635da9437a2cddb258b966e5e56
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M modules/b2b_entities/dlg.c

  Log Message:
  -----------
  b2b_entities: include request Contact params in bounds check

Account for Contact header parameter bytes when checking the fixed request extra-header buffer in b2breq_complete_ehdr().

Fixes GHSA-vq5g-56jm-839g

Reported-by: TristanInSec


Compare: https://github.com/OpenSIPS/opensips/compare/610cf82e2f57...cb0dcbb9042b

To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list