CVE-2021-37706 | Potential integer underflow upon receiving STUN message in PJSIP

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 affected versions if the incoming STUN message contains an ERROR-CODE attribute, the header length is not checked before performing a subtraction operation, potentially resulting in an integer underflow scenario. This issue affects all users that use STUN. A malicious actor located within the victim’s network may forge and send a specially crafted UDP (STUN) message that could remotely execute arbitrary code on the victim’s machine. Users are advised to upgrade as soon as possible. There are no known workarounds.

公開: 2021-12-22 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2021-37706 は高リスク(65/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 4.62%、90 パーセンタイル) 根拠: EPSS 上、短期間での悪用可能性は高い水準です。 直近 1 日で EPSS が +4.12% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2021-37706 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.51% 4.62% +4.12%
2 2026-05-18 0.24% 0.51% +0.26%
3 2026-04-16 0.24%

EPSS の全履歴 (全 30 件)

CVE-2021-37706 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
3.9 3.4 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 5.9 [email protected]
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:C)
機密性は全面的に損なわれる。
完全性への影響 (I:C)
完全性は全面的に損なわれる。
可用性への影響 (A:C)
可用性は全面的に損なわれる。
8.6 10.0 [email protected]

CVE-2021-37706 の弱点分類(列挙)

CVE-2021-37706 の OS トラッカー

vendor priority summary link
alpine CVE-2021-37706: 1 source package rows (pjproject); 7 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 0. https://security.alpinelinux.org/vuln/CVE-2021-37706
debian not yet assigned CVE-2021-37706 not yet assigned priority: Debian including 2 source packages (asterisk, ring), 4 status rows across 3 suites (bookworm, bullseye, sid): resolved 4. https://security-tracker.debian.org/tracker/CVE-2021-37706
gentoo normal CVE-2021-37706: 1 GLSA(s) (202210-37), 1 atom(s) (net-libs/pjproject); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-37706
ubuntu medium CVE-2021-37706 medium priority: Ubuntu including 2 source packages (pjproject, ring), 16 status rows across 12 suites (bionic, focal, impish, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 7, DNE 4, ignored 4, needs-triage 1. https://ubuntu.com/security/CVE-2021-37706

CVE-2021-37706 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
teluu pjsip <= 2.11.1 cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*
asterisk certified_asterisk < 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:*:*:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:*:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert1:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert10:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert11:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert12:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert2:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert3:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert4:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert5:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert6:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert7:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert8:*:*:*:*:*:*
asterisk certified_asterisk 16.8.0 cpe:2.3:a:asterisk:certified_asterisk:16.8.0:cert9:*:*:*:*:*:*
sangoma asterisk >= 16.0.0, < 16.24.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
sangoma asterisk >= 18.0.0, < 18.10.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
sangoma asterisk >= 19.0.0, < 19.2.1 cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

CVE-2021-37706 の参考情報

URL タグ
http://packetstormsecurity.com/files/166225/Asterisk-Project-Security-Advisory-AST-2022-004.html Third Party Advisory VDB Entry
http://seclists.org/fulldisclosure/2022/Mar/0 Mailing List Patch Third Party Advisory
https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865 Patch Third Party Advisory
https://github.com/pjsip/pjproject/security/advisories/GHSA-2qpg-f6wf-w984 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html
https://security.gentoo.org/glsa/202210-37 Third Party Advisory
https://www.debian.org/security/2022/dsa-5285 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
cvelogic Threat Intelligence