Uncontrolled recursion in elixir-protobuf/protobuf JSON decoding of self-referential messages
elixir-protobuf protobuf
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| elixir-protobuf protobuf |
| No fix yet |
| elixir-protobuf protobuf |
| No fix yet |
Original description
Uncontrolled Recursion vulnerability in Protobuf.JSON.Decode in elixir-protobuf protobuf allows an unauthenticated remote attacker to crash the decoding process via a deeply nested JSON document. Any application that decodes attacker-supplied JSON with Protobuf.JSON.decode/3, Protobuf.JSON.decode!/3, or Protobuf.JSON.from_decoded/3 into a schema that contains a self-referential or cyclic message type is affected.