Exclude org.json pulled in by Closure Templates

The gitiles SBOM scan (//:gitiles_sbom_scan, Trivy over the generated
CycloneDX SBOM) flagged org.json:json 20230618 shipping in gitiles.war
with CVE-2023-5072 (HIGH): a parser confusion that can exhaust memory.
It is pulled in transitively by Closure Templates
(com.google.template:soy).

Gitiles does not use org.json in its own code, and Gerrit excludes it
from the same soy version and ships without it. So omit it here the same
way we dropped end-of-life log4j 1.x: exclude the transitive jar from
soy and re-pin. The war no longer ships json-20230618.jar and the scan
is clean.

Change-Id: I2d8cc40b8c38fcf2e0f8392adf4e93d92ae2c404
2 files changed
tree: ca13deadb16e2302bd3df34cd283ddce11dee6bb
  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.