Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2022-31031

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-07 Jun, 2022 | 00:00
Updated At-23 Apr, 2025 | 18:18
Rejected At-
Credits

Potential stack buffer overflow when parsing message as a STUN client

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:07 Jun, 2022 | 00:00
Updated At:23 Apr, 2025 | 18:18
Rejected At:
▼CVE Numbering Authority (CNA)
Potential stack buffer overflow when parsing message as a STUN client

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.

Affected Products
Vendor
pjsip
Product
pjproject
Versions
Affected
  • <= 2.12.1
Problem Types
TypeCWE IDDescription
CWECWE-120CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Type: CWE
CWE ID: CWE-120
Description: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Metrics
VersionBase scoreBase severityVector
3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj
N/A
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202
N/A
https://security.gentoo.org/glsa/202210-37
vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html
mailing-list
https://www.debian.org/security/2023/dsa-5358
vendor-advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
mailing-list
Hyperlink: https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj
Resource: N/A
Hyperlink: https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202
Resource: N/A
Hyperlink: https://security.gentoo.org/glsa/202210-37
Resource:
vendor-advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html
Resource:
mailing-list
Hyperlink: https://www.debian.org/security/2023/dsa-5358
Resource:
vendor-advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
Resource:
mailing-list
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj
x_transferred
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202
x_transferred
https://security.gentoo.org/glsa/202210-37
vendor-advisory
x_transferred
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html
mailing-list
x_transferred
https://www.debian.org/security/2023/dsa-5358
vendor-advisory
x_transferred
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
mailing-list
x_transferred
Hyperlink: https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj
Resource:
x_transferred
Hyperlink: https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202
Resource:
x_transferred
Hyperlink: https://security.gentoo.org/glsa/202210-37
Resource:
vendor-advisory
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html
Resource:
mailing-list
x_transferred
Hyperlink: https://www.debian.org/security/2023/dsa-5358
Resource:
vendor-advisory
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
Resource:
mailing-list
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:09 Jun, 2022 | 16:15
Updated At:30 Aug, 2023 | 01:15

PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions prior to and including 2.12.1 a stack buffer overflow vulnerability affects PJSIP users that use STUN in their applications, either by: setting a STUN server in their account/media config in PJSUA/PJSUA2 level, or directly using `pjlib-util/stun_simple` API. A patch is available in commit 450baca which should be included in the next release. There are no known workarounds for this issue.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Secondary3.19.8CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary2.06.8MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P
Type: Primary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 9.8
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Type: Primary
Version: 2.0
Base score: 6.8
Base severity: MEDIUM
Vector:
AV:N/AC:M/Au:N/C:P/I:P/A:P
CPE Matches

teluu
teluu
>>pjsip>>Versions up to 2.12.1(inclusive)
cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>10.0
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>11.0
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-120Primarysecurity-advisories@github.com
CWE-787Secondarynvd@nist.gov
CWE ID: CWE-120
Type: Primary
Source: security-advisories@github.com
CWE ID: CWE-787
Type: Secondary
Source: nvd@nist.gov
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202security-advisories@github.com
Patch
Third Party Advisory
https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qjsecurity-advisories@github.com
Patch
Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/02/msg00029.htmlsecurity-advisories@github.com
Mailing List
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.htmlsecurity-advisories@github.com
N/A
https://security.gentoo.org/glsa/202210-37security-advisories@github.com
Third Party Advisory
https://www.debian.org/security/2023/dsa-5358security-advisories@github.com
Third Party Advisory
Hyperlink: https://github.com/pjsip/pjproject/commit/450baca94f475345542c6953832650c390889202
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/pjsip/pjproject/security/advisories/GHSA-26j7-ww69-c4qj
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/02/msg00029.html
Source: security-advisories@github.com
Resource:
Mailing List
Hyperlink: https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://security.gentoo.org/glsa/202210-37
Source: security-advisories@github.com
Resource:
Third Party Advisory
Hyperlink: https://www.debian.org/security/2023/dsa-5358
Source: security-advisories@github.com
Resource:
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found