Exclude end-of-life log4j 1.x from the flogger backend

Adding the CycloneDX SBOM scan for gitiles (//:gitiles_sbom_scan, Trivy
over the generated SBOM) surfaced log4j:log4j 1.2.15 shipping in
gitiles.war with six CVEs, three of them CRITICAL: CVE-2019-17571,
CVE-2022-23305 and CVE-2022-23307, plus CVE-2021-4104, CVE-2022-23302 and
CVE-2023-26464. This is end-of-life log4j 1.x with no fixed release.

flogger-log4j-backend pulls log4j:log4j in transitively. reload4j, the
patched drop-in fork, is already a direct dependency and provides the same
classes, so exclude log4j:log4j from the backend's transitive closure and
re-pin. gitiles.war now ships reload4j-1.2.26.jar alone; the vulnerable
log4j-1.2.15.jar is gone. Gerrit keeps log4j 1.x out the same way.

Change-Id: I09b20eb11cae70acec87cccf96b82acf1f0eb3c6
2 files changed
tree: ffd69e507bdbfa3db9c91936cb5a5f73ca4b8595
  1. .settings/
  2. Documentation/
  3. java/
  4. javatests/
  5. jstests/
  6. lib/
  7. modules/
  8. resources/
  9. tools/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .gitignore
  14. .gitmodules
  15. .mailmap
  16. .zuul.yaml
  17. BUILD
  18. COPYING
  19. external_deps.lock.json
  20. fake_pom_deploy.xml
  21. MODULE.bazel
  22. MODULE.bazel.lock
  23. navbar.md
  24. README.md
  25. version.bzl
README.md

Gitiles - A simple JGit repository browser

Gitiles is a simple repository browser for Git repositories, built on JGit. Its guiding principle is simplicity: it has no formal access controls, no write access, no fancy Javascript, etc.

Gitiles automatically renders *.md Markdown files into HTML for simplified documentation. Refer to the Markdown documentation for details.

Configuration

Gitiles is configurable in a git-style configuration file named gitiles.config. Refer to the configuration documentation for details.

Bugs

Use gerrit's issue tracker to file bugs.

Contributing to Gitiles

Please refer to the Developer Guide.