Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8001

SmppUtils.isGsm0338Encodeable() called with arbitrary data

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12.2
    • Fix Version/s: 2.13.4, 2.14.1, 2.15.0
    • Component/s: camel-smpp
    • Labels:
    • Environment:

      n/a

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Unknown

      Description

      The method SmppUtils.isGsm0338Encodeable(byte[]) expects the input data to be Latin1 encoded (or a subset of Latin1, such as ASCII)

      The method SmppSmCommand.determineAlphabet(Message) prepares an argument by calling String.getBytes(charset) without checking the charset is Latin1 or compatible.

        Attachments

        1. determineAlphabet_fix.patch
          2 kB
          Daniel Pocock

          Activity

            People

            • Assignee:
              njiang Willem Jiang
              Reporter:
              daniel.pocock Daniel Pocock
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: