CVE-2026-61695
YüksekTeknik Veri (Otomatik)
- CVSS Skoru
- 7.5
- EPSS
- —
- CWE
- CWE-129
- KEV Durumu
- Hayır
Wire, Android, Kotlin, Swift ve Java için gRPC ve protocol buffers sağlar. 6.4.1 ve 7.0.0-alpha04 sürümlerinden önceki sürümlerde, Wire'ın Swift çalışma zamanı ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) işlevi, bilinmeyen bir START_GROUP alanının içinde LENGTH_DELIMITED alan için negatif bir uzunluk kabul eder. ProtoReader.readData() işlevi negatif sayıyı ReadBuffer.readData(count:) işlevine iletir ve bu işlevin yalnızca üst sınır kontrolleri, değerin Foundation Data(bytes:count:) işlevine ulaşmasına ve bir ProtoDecoder.Error yerine kurtulamayan bir işlem tuzağına neden olmasına izin verir. Güvenilmeyen protobuf baytlarını çözen herhangi bir Swift işlemi, kimlik doğrulama, kullanıcı etkileşimi veya hedef şemanın bilgisine gerek kalmadan çökebilir. Bu sorun, 6.4.1 ve 7.0.0-alpha04 sürümlerinde giderilmiştir.
Orijinal açıklama (İngilizce)
Wire provides gRPC and protocol buffers for Android, Kotlin, Swift, and Java. Prior to 6.4.1 and 7.0.0-alpha04, Wire's Swift runtime ProtoReader.skipGroup(expectedEndTag:unknownFieldsWriter:) accepts a negative length for a LENGTH_DELIMITED field inside an unknown START_GROUP field. ProtoReader.readData() forwards the negative count to ReadBuffer.readData(count:), whose upper-bound-only check permits the value to reach Foundation Data(bytes:count:) and trigger an unrecoverable process trap instead of a catchable ProtoDecoder.Error. Any Swift process decoding untrusted protobuf bytes can be crashed without authentication, user interaction, or knowledge of the target schema. This issue is fixed in versions 6.4.1 and 7.0.0-alpha04.
Referanslar
- https://github.com/square/wire/commit/24043b6b3a5e5974a978f2745b76d50b31407c1c
- https://github.com/square/wire/commit/81ff7f24a6795d9a8be2e03f272b2d979a5d2c7e
- https://github.com/square/wire/pull/3616
- https://github.com/square/wire/releases/tag/6.4.1
- https://github.com/square/wire/releases/tag/7.0.0-alpha04
- https://github.com/square/wire/security/advisories/GHSA-86wm-r4c5-2rc9
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.
