{"id":"CVE-2024-58103","published":"2025-03-16T00:00:00Z","modified":"2025-03-17T15:50:25Z","title":"Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and…","vendor":"Square","product":"Wire","tier":"tail","description":{"text":"Square Wire before 5.2.0 does not enforce a recursion limit on nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0045,"percentile":0.3997,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"}],"references":[{"url":"https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d","tags":[]},{"url":"https://github.com/square/wire/compare/5.1.0...5.2.0","tags":[]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":7.99},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"square","affectedVersions":[{"vendor":"Square","product":"Wire","versions":["< 5.2.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-17T15:50:16.370764Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.squareup.wire:wire-runtime","vulnerableRanges":["<5.2.0"],"patched":["5.2.0"],"from":["GHSA-pwf9-q62p-v7wc"],"provenance":"source"}],"summary":{"text":"Square Wire, before version 5.2.0, has a flaw in its protobuf reader components (ByteArrayProtoReader32.kt and ProtoReader.kt) where nested groups are parsed without a recursion limit. An attacker who can send crafted protobuf input to an application using the affected library can exhaust resources through unbounded recursion, and this requires no authentication or user interaction and only network access to the vulnerable service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:27Z"},"euvd":{"id":"EUVD-2024-54086","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-square-wire-cve-2024-58103","children":[{"from":"CVE-2024-58103","to":"CVE-2026-45799","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt","wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReader32Test.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReaderTest.kt"],"commits":["https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d","https://github.com/square/wire/commit/47d5b0dba53935d5332cd41a80a353b3fc90e7b0","https://github.com/square/wire/commit/e4e56fab38a547d9625f05c97f1d8f0bcc3a5773"],"basis":"shared function","functions":["ByteArrayProtoReader32","ProtoReader","ProtoReader32Test","ProtoReaderTest"]}]},{"from":"CVE-2024-58103","to":"CVE-2026-63126","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wire-runtime/src/commonMain/kotlin/com/squareup/wire/ByteArrayProtoReader32.kt","wire-runtime/src/commonMain/kotlin/com/squareup/wire/ProtoReader.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReader32Test.kt","wire-runtime/src/commonTest/kotlin/com/squareup/wire/ProtoReaderTest.kt"],"commits":["https://github.com/square/wire/commit/b90e60c09befaff836a2fc2ee4d678451b2ec75d","https://github.com/square/wire/commit/082d5d83cec57ef68f1dd7d3e3d1d641c1fb670f","https://github.com/square/wire/commit/25ebcabb9ab7f12d1d77af75ecbc51726fddc015"],"basis":"shared function","functions":["ByteArrayProtoReader32","ProtoReader","ProtoReader32Test","ProtoReaderTest"]}]}]}}