Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3230

Certain strings can cause infinite recursion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.8, 2.8.1, 2.8.2, 2.9.0, 2.9.1, 2.10.0, 2.11.0, 2.11.1, 2.11.2, 2.12.0, 2.12.1, 2.13.0, 2.13.1, 2.13.2, 2.14.0, 2.13.3, 2.14.1, 2.15.0, 2.16.0
    • 2.17.0
    • Core
    • None

    Description

      If a string substitution is attempted for any reason on the following string, it will trigger an infinite recursion, and the application will crash: ${${::-${::-$${::-j}}}}.

      Attachments

        1. sample.tar.gz
          1 kB
          Jon Bristow

        Activity

          People

            ckozak Carter Kozak
            BossColo Ross Cohen
            Votes:
            2 Vote for this issue
            Watchers:
            33 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: