Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-11420

ServletInputStream use after stream has been recycled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Highest
    • 5.13.4, 5.14.2, 5.15.1, 5.16.0
    • 5.13.0
    • None
    • None

    Description

      It is possible for instances of ServletInputStream to be used in handling one request after Tomcat has recycled (i.e. reused) the stream for a different request.

      Symptoms include, but are not limited to:

      • Incorrect user agent reported in access logs. For example where an user agent "git/2.16.55" is reported where it should be "git/2.16.5"
      • Incorrect client IP address reported in access logs. This will typically, like the user agent, involved the final character being repeated.
      • Users interacting with the user interface experience failures with error "You've switched users"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              behumphreys Ben Humphreys
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: