Stack-based Buffer Overflow Affecting ring package, versions <20180228.1.503da2b~ds1-1ubuntu0.1~esm1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.36% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-RING-2404449
  • published12 Jul 2025
  • disclosed16 Feb 2022

Introduced: 16 Feb 2022

CVE-2021-43301  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 ring to version 20180228.1.503da2bds1-1ubuntu0.1esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ring package and not the ring package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

Stack overflow in PJSUA API when calling pjsua_playlist_create. An attacker-controlled 'file_names' argument may cause a buffer overflow since it is copied to a fixed-size stack buffer without any size validation.

CVSS Base Scores

version 3.1