CVEfocus › CVE database › CVE-2021-41141

CVE-2021-41141Missing release of locks in PJSIP

CVSS 5.9 MediumEPSS 1.4% (higher than 73% of CVEs)Published 2022-01-04Updated 2025-04-23Assigner: GitHub_M

PJSIP is a free and open source multimedia communication library written in the C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In various parts of PJSIP, when error/failure occurs, it is found that the function returns without releasing the currently held locks. This could result in a system deadlock, which cause a denial of service for the users. No release has yet been made which contains the linked fix commit. All versions up to an including 2.11.1 are affected. Users may need to manually apply the patch.

CWE-667

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04ringFix pendingUBUNTU-CVE-2021-41141
Ubuntu 18.04ringFix pendingUBUNTU-CVE-2021-41141
Alpine Linux 3.24pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.23pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.22pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.21pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.20pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.19pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.18pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.17pjprojectFixed2.12-r0ALPINE-CVE-2021-41141
Alpine Linux 3.16pjprojectFixed2.12-r0ALPINE-CVE-2021-41141

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.