Cloudanix VulnDB

CVE-2022-41550

Medium · 6.5

CVSS

6.5

EPSS

0.6%

Published

Oct 11, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a widely used network protocol library can let attackers crash programs that handle certain messages, causing temporary service outages until the software is updated.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer overflow in osip_body_parse_header allows malformed input to trigger arithmetic wraparound during header length calculations, resulting in memory corruption or application crash.

Why it matters to the business

Systems processing untrusted SIP or related protocol data may experience denial of service, interrupting services that depend on the affected parsing library; the issue is old with low exploitation probability and no known active campaigns.

How an attack unfolds

An attacker crafts a SIP message containing a body header with specially chosen length values that cause integer overflow during parsing in osip_body_parse_header; successful overflow leads to invalid memory access and process termination without requiring authentication.

How to fix it

Upgrade pts/sam2p to the commit b953f63307c4a83fa4615a4863e3fb250205cd98 or later; rebuild any dependent packages that statically link the vulnerable oSIP component.

How to confirm the fix worked

Confirm the installed source revision contains b953f63307c4a83fa4615a4863e3fb250205cd98; recompile and execute unit tests that exercise osip_body_parse_header with boundary-case header lengths.

Typical attack path

  1. Identify a network endpoint accepting SIP or oSIP-processed data
  2. Send a single crafted message containing an oversized or malformed body header
  3. Trigger the overflow inside osip_body_parse_header
  4. Cause the target process to crash or become unresponsive

How to detect it

Review application and system logs for unexpected crashes or segmentation faults in processes linked against oSIP during SIP message handling; correlate with inbound network traffic containing unusual Content-Length or body-header values.

What your security team should do

  • Apply the referenced commit to all builds using the affected oSIP code
  • Scan build pipelines and dependency manifests for references to vulnerable oSIP versions
  • Monitor EPSS and KEV updates for any future increase in exploit maturity

The record

GNU oSIP v5.3.0 was discovered to contain an integer overflow via the component osip_body_parse_header.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 libosip2 0 No fix
Debian:12 libosip2 0 5.3.0-2.1
Debian:13 libosip2 0 5.3.0-2.1
Debian:14 libosip2 0 5.3.0-2.1
Mageia:8 libosip2 0 5.0.0-4.1.mga8
SUSE:Linux Enterprise Software Development Kit 12 SP5 libosip2 0 3.5.0-21.3.1
SUSE:Linux Enterprise Workstation Extension 12 SP5 libosip2 0 3.5.0-21.3.1
SUSE:Package Hub 15 SP4 libosip2 0 5.2.1-bp154.2.3.1
Ubuntu:16.04:LTS libosip2 0 No fix
Ubuntu:18.04:LTS libosip2 0 No fix
Ubuntu:20.04:LTS libosip2 0 No fix
Ubuntu:22.04:LTS libosip2 0 No fix
Ubuntu:24.04:LTS libosip2 0 No fix
Ubuntu:24.10 libosip2 0 No fix
Ubuntu:25.04 libosip2 0 No fix
Ubuntu:25.10 libosip2 0 No fix
Ubuntu:Pro:16.04:LTS libosip2 0 No fix
Ubuntu:Pro:18.04:LTS libosip2 0 No fix
Ubuntu:Pro:20.04:LTS libosip2 0 No fix
openSUSE:Leap 15.4 libosip2 0 5.2.1-bp154.2.3.1

Related vulnerabilities