Catégories
CVE-2026-48487 medium CVSS 5.3

Vulnérabilité dans zeroconf (CVE-2026-48487)

Résumé

Vulnérabilité dans zeroconf (CVE-2026-48487). Les données peuvent être altérées par des attaquants. Exploitable via _read_character_string. Atténuation : mise à jour vers 0.149.16 ou plus.

Description d'origine

La description telle que publiée par la source (souvent en anglais).

Impact

_read_character_string and _read_string in src/zeroconf/_protocol/incoming.py sliced self.data[self.offset : self.offset + length] and advanced self.offset by the declared length without checking it against self._data_len. Python's slice silently returns fewer bytes when the end index runs past the buffer, so a record whose 16-bit RDLENGTH (RFC 1035 §3.2.1) over-advertised by tens of kilobytes was constructed from a truncated payload, appended to DNSIncoming._answers, and committed to the cache before any later parse failure surfaced. The follow-up _read_name for the next record then failed, but the corrupt record had already entered the answer list and propagated to DNSCache and ServiceInfo.

Any unauthenticated host on the local link (UDP/5353, 224.0.0.251 / ff02::fb) can multicast a single mDNS response carrying a TXT, HINFO, or A/AAAA record that advertises rdlength=65535 and only a handful of real payload bytes; consumers calling ServiceInfo.properties then parse the truncated bytes as if they matched the wire, and downstream integrations (Home Assistant and other zeroconf-driven discovery) trust the decoded record. The bug is parser-state desync rather than RCE, but it seeds the cache with attacker-shaped key/value and address records for a TTL window and is a building block for higher-impact chains.

The impact is likely lower than the other recently released advisories as there is no additional risk of OOM so the severity was ma…

Source: GitHub Security Advisories (Global) NVD GitHub Advisory

Résumé généré automatiquement

Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.

Une vulnérabilité référencée CVE-2026-48487 a été découverte dans zeroconf.
Des attaquants peuvent cibler un point d'entrée spécifique comme _read_character_string à distance pour détourner le produit.
Les données peuvent être altérées par des attaquants. Score CVSS : 5.3/10.
Action : mettez à jour zeroconf vers 0.149.16 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « zeroconf CVE-2026-48487 » sur le site de l'éditeur.

CVE-2026-48487 (zeroconf) — CWE-130 / CVSS v3 5.3
Vecteur d'attaque : réseau adjacent / non authentifié / sans interaction utilisateur
Surface d'attaque : _read_character_string / _read_string / self.offset / length
Correctif : 0.149.16 — appliquer immédiatement
Contournement : There is no in-process workaround; upgrading is the fix.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.

❓ Quel est le problème

Une vulnérabilité (CWE-130) affecte zeroconf. Les attaquants atteignent le code vulnérable via _read_character_string sans authentification.

📍 Périmètre concerné

Consultez l'avis de l'éditeur pour les versions affectées de zeroconf. Surface d'attaque : _read_character_string / _read_string / self.offset / length.

🔥 Gravité

Gravité : Moyenne (CVSS 5.3/10). Les données peuvent être altérées par des attaquants.

🔧 Comment corriger

Mettre à jour vers 0.149.16.

🛡️ Contournement

Contournement : There is no in-process workaround; upgrading is the fix.

🔍 Détection

Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.

Actions de réponse

Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre

  1. 1
    Identify exposure identify
    grep -r 'zeroconf' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で zeroconf を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaround mitigate
    There is no in-process workaround; upgrading is the fix.

    パッチが適用されるまでの応急処置として、There is no in-process workaround; upgrading is the fix. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patch patch
    Upgrade zeroconf to 0.149.16

    ステージング環境で 0.149.16 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Paquets affectés

pip zeroconf
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.149.16"}]}]
PyPI zeroconf
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.149.16"}]}]

État des correctifs par distribution

Paquets corrigés publiés par chaque distribution pour cette CVE

Références

Nous utilisons des cookies pour l'analyse d'audience et la mesure publicitaire. Ce réglage s'applique à tous les sites de Game co., Ltd. En savoir plus