CVE-2021-43845

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-43845
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-43845.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-43845
Downstream
Related
  • GHSA-r374-qrwv-86hh
Published
2021-12-27T18:15:07.460Z
Modified
2025-11-14T12:36:59.344877Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious actor can send a RTCP XR message with an invalid packet size.

References

Affected packages

Git / github.com/pjsip/pjproject

Affected ranges

Type
GIT
Repo
https://github.com/pjsip/pjproject
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.10
2.11

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "4073572344689943911124658718667752297",
                "209010379036503664911872474770178801417",
                "171642782584085040410049896457325435756",
                "51406099031871112102662163582770951807",
                "101606692147499361841599617856433669746",
                "39002042882445297833373814622502506687",
                "93524811712521803336451275932915612712",
                "219078617565287023457299214877517836405",
                "93993527446036329088164087373480765830",
                "294045389916670558896821548348881358083",
                "164487798707190644002308488821824218494",
                "14335266818349053158887545740262944328",
                "216751028195986996072550307876660182928"
            ]
        },
        "target": {
            "file": "pjmedia/src/pjmedia/rtcp_xr.c"
        },
        "signature_version": "v1",
        "id": "CVE-2021-43845-1f9c9477",
        "deprecated": false,
        "source": "https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859",
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "163415554810497209360073698107880337313",
            "length": 5582.0
        },
        "target": {
            "file": "pjmedia/src/pjmedia/rtcp_xr.c",
            "function": "pjmedia_rtcp_xr_rx_rtcp_xr"
        },
        "signature_version": "v1",
        "id": "CVE-2021-43845-8b7a2b25",
        "deprecated": false,
        "source": "https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859",
        "signature_type": "Function"
    }
]