Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7507

Put a configurable limit on the attachment header sizes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.11
    • 3.0.16, 3.1.14, 3.2.1
    • Core
    • None
    • Novice

    Description

      There is one possible DOS vulnerability in the code ContentDisposition constructor.
      In the codes , it will use the pattern to parse MIME content-disposition.
      if the content-disposition content has more than 50000 chars,one radical example , 1 million , CPU usage of any web service
      would be used up and reach over more than 98%.

      please consider solve this issue asap.

      Attachments

        1. cxf-content-disposition.patch
          19 kB
          Colm O hEigeartaigh
        2. 0001-CXF-7507-Put-a-configurable-limit-on-the-MIME-header.patch
          18 kB
          Colm O hEigeartaigh

        Activity

          People

            coheigea Colm O hEigeartaigh
            kkk68905 kevin.wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: