Open Source Media Stack and PJSIP SIP Have Critical Bugs

  • By David Lukic
  • Published: Mar 04, 2022
  • Last Updated: Mar 18, 2022

Digital security specialists are reporting several critical bugs within open-source multimedia known as PJSIP. At the moment, nearly half a dozen such security vulnerabilities have been identified. Below, we provide a look at those flaws and delve into how digital security specialists are addressing them.

Why are the Critical Bugs Such a Problem?

The critical bugs noted above are an issue as they open the door for digital attackers to abuse targets, spurring the execution of arbitrary code and DoS attacks within applications that rely on the protocol stack for functionality. DoS is short for denial-of-service.

Who Identified the Critical Bugs?

The flaws in questions were pinpointed and reported by digital security professionals at JFrog. The company’s Security Research team highlighted the critical bugs earlier this week after the maintainers of the project issued patches.

What is PJSIP all about?

PJSIP is best described as an embedded suite with SIP protocols that is open source, meaning users can modify it for improvement. PJSIP is written within C, providing support for video, audio, and instant messages for digital platforms used for communication such as WhatsApp. PJSIp is also used within Asterisk, a private branch exchange system used in VoIP networks.

Sauw Ming, a developer with PJSIP, recently noted that PJSIP buffers typically have a capped size, especially when used in a stack or provided through an application. Yet, the group does not check to see if the usage moves beyond the cap. In other words, there is the potential for buffer overflows to occur.

What are the Flaws in Question?

Let’s shift our attention to the specific flaws with PJSIP. Those flaws are listed below:
    •    CVE-2021-43302 (CVSS score: 5.9) – Read out-of-bounds in PJSUA API when calling pjsua_recorder_create()
    •    CVE-2021-43303 (CVSS score: 5.9) – Buffer overflow in PJSUA API when calling pjsua_call_dump()
    •    CVE-2021-43299 (CVSS score: 8.1) – Stack overflow in PJSUA API when calling pjsua_player_create()
    •    CVE-2021-43300 (CVSS score: 8.1) – Stack overflow in PJSUA API when calling pjsua_recorder_create()
    •    CVE-2021-43301 (CVSS score: 8.1) – Stack overflow in PJSUA API when calling pjsua_playlist_create()

If one of the flaws noted above is exploited, a nefarious actor might have the opportunity to shift arguments to the susceptible APIs, spurring code execution along with a DoS attack, as noted above. The arbitrary code execution occurs within applications that rely on the PJSIP library.

How are the Critical Bugs Remedied?

The JFrog Security crew proactively disclosed the vulnerabilities. A patch has been made available, dubbed “commit d979253,” yet JFrog Security is uncertain as to whether it will prove effective across the long haul. Workarounds are also available for the applications to gauge parameter length, meaning the buffer and file names prior to calling the APIs.  

In summary, JFrog Security is working hard to verify the best strategy to fix the critical bugs noted above. However, at the moment, it is unclear if a lasting digital security solution will be identified.

About the Author
IDStrong Logo

Related Articles

Instagram Vulnerability Allowed Hackers Access to Control Your Phone

Security experts Check Point Research discovered a critical vulnerability while examining Instagra ... Read More

Alien Malware Infects More than 226 Mobile Apps and Steals Bank Data

As reported on September 24, 2020, by ZDNet and ThreatPost, a new strain of malware named “A ... Read More

Universal Health Systems Hit by Ransomware Attack

Universal Health Systems (UHS), a Fortune 500 company owning more than 400 hospitals across the co ... Read More

Exchange Server Bug Exposes a Big Risk to Hackers

Months after Microsoft released a patch to fix a serious flaw in MS Exchange Server, more than 61% ... Read More

Clients’ Bank Data Exposed in Blackbaud Ransomware Attack

Blackbaud software was victim to a ransomware attack last May, and new information suggests that c ... Read More

Latest Articles

What is Single Sign-On: The Benefits and Importance of Implementing SSO

What is Single Sign-On: The Benefits and Importance of Implementing SSO

Every day, more people get online - most do it for leisure, but organizations are increasingly moving into the digital environment.

Personal vs Sensitive Personal Information (SPI): What’s the Difference

Personal vs Sensitive Personal Information (SPI): What’s the Difference

What is there to know about a person? Certainly, their name, but how about their affiliations, philosophical beliefs, or sexual orientation?

What Is An On-Path Attack and How Does It Work? 

What Is An On-Path Attack and How Does It Work? 

Suppose someone left their home, got in their car, and drove to the grocery store. Much like data packets that travel over Internet highways, the car will use various pathways to reach its destination; however, once the car gets to the store, a question remains: what happened between the generating point and the destination?

Featured Articles

How to Buy a House with Bad Credit

How to Buy a House with Bad Credit

Buying your own home is the American Dream, but it might seem out of reach to those with bad credit. However, the good news is, if your credit is less than perfect, you do still have options and in most cases, can still buy a home.

How Secure Is Your Password? Tips to Improve Your Password Security

How Secure Is Your Password? Tips to Improve Your Password Security

Any good IT article on computers and network security will address the importance of strong, secure passwords. However, the challenge of good passwords is that most people have a hard time remembering them, so they use simple or obvious ones that pose a security risk.

Top 10 Senior Scams and How to Prevent Them

Top 10 Senior Scams and How to Prevent Them

Senior scams are becoming a major epidemic for two reasons. First, seniors often have a lot of money in the bank from a life of working hard and saving.

Free Identity Exposure Scan
Instantly and Securely Check if Your Personal Information is Exposed on the Dark Web or Sold by Data Brokers
Please enter first name
Please enter last name
Please select a state
Close
Free Identity Threat Scan
Instantly Check if Your Personal Information is Exposed
All fields below are required
Please enter first name
Please enter last name
Please enter a city
Please select a state
Please enter an age
Please enter an email address
Close