Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1249

proton-j: unsafe type initialisations

    XMLWordPrintableJSON

Details

    • Patch

    Description

      In #readValue() for ArrayType, BinaryType, ListType and MapType
      decoding, if the 'count' specified is very large then it is likely to
      trigger an OutOfMemoryException. As these can come from an external data
      source, during the SASL init for example, there is a potential for a
      denial of service. The fix is to throw an IllegalArgumentException if
      the count value is larger than the amount of data available in the
      received bytes.

      Attachments

        Issue Links

          Activity

            People

              dnwe Dominic Evans
              dnwe Dominic Evans
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: