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

Document unsafe lookup usage patterns

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • 2.19.0
    • None
    • None

    Description

      The recent CVE storm has proven that lookups are employed by users in many places where they shouldn't. In particular, lookups depending on LogEvent's (e.g., ctx) are honey pots for attackers and there are safer ways to expose the very same information via more native constructs, e.g., MDC accessors in PatternLayout and JsonTemplateLayout. This story aims to enrich the lookup and certain layout documentations with such best practices.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vy Volkan Yazici
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: