7.5
HIGH
CVE-2023-27585
PJSIP DNS Resolver Buffer Overflow Vulnerability
Description

PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.13 and prior affects applications that use PJSIP DNS resolver. It doesn't affect PJSIP users who do not utilise PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. The difference is that this issue is in parsing the query record `parse_query()`, while the issue in CVE-2022-24793 is in `parse_rr()`. A patch is available as commit `d1c5e4d` in the `master` branch. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver implementation instead.

INFO

Published Date :

March 14, 2023, 5:15 p.m.

Last Modified :

Nov. 21, 2024, 7:53 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2023-27585 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Teluu pjsip

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-27585 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-27585 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5
    Added Reference https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4
    Added Reference https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr
    Added Reference https://lists.debian.org/debian-lts-announce/2023/04/msg00020.html
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
    Added Reference https://www.debian.org/security/2023/dsa-5438
    Added Reference https://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__RESOLVER.htm
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 30, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 23, 2023

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2023/dsa-5438 [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 19, 2023

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2023/04/msg00020.html [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 24, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5 No Types Assigned https://github.com/pjsip/pjproject/commit/d1c5e4da5bae7f220bc30719888bb389c905c0c5 Patch
    Changed Reference Type https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4 No Types Assigned https://github.com/pjsip/pjproject/security/advisories/GHSA-p6g5-v97c-w5q4 Vendor Advisory
    Changed Reference Type https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr No Types Assigned https://github.com/pjsip/pjproject/security/advisories/GHSA-q9cp-8wcq-7pfr Patch, Vendor Advisory
    Changed Reference Type https://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__RESOLVER.htm No Types Assigned https://www.pjsip.org/pjlib-util/docs/html/group__PJ__DNS__RESOLVER.htm Product
    Added CPE Configuration OR *cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:* versions up to (excluding) 2.13
  • CVE Modified by [email protected]

    Mar. 20, 2023

    Action Type Old Value New Value
    Changed Description PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.13 and prior affects applications that use PJSIP DNS resolver. It doesn't affect PJSIP users who do not utilise PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. A patch is available as commit `d1c5e4d` in the `master` branch. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver implementation instead. PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.13 and prior affects applications that use PJSIP DNS resolver. It doesn't affect PJSIP users who do not utilise PJSIP DNS resolver. This vulnerability is related to CVE-2022-24793. The difference is that this issue is in parsing the query record `parse_query()`, while the issue in CVE-2022-24793 is in `parse_rr()`. A patch is available as commit `d1c5e4d` in the `master` branch. A workaround is to disable DNS resolution in PJSIP config (by setting `nameserver_count` to zero) or use an external resolver implementation instead.
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-27585 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.83 }} -0.34%

score

0.81802

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability