Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.gitblit/gitblit
  4. ›
  5. CVE-2022-31267

CVE-2022-31267: Unescaped control characters in Gitblit

May 22, 2022 (updated May 25, 2022)

Gitblit 1.9.2 allows privilege escalation via the Config User Service: a control character can be placed in a profile data field, such as an emailAddress%3Atext ‘attacker@example.com\n\trole = “#admin”’ value.

References

  • github.com/advisories/GHSA-fh55-vwjc-69c7
  • github.com/gitblit/gitblit/commit/9b4afad6f4be212474809533ec2c280cce86501a
  • github.com/gitblit/gitblit/issues/1410
  • github.com/gitblit/gitblit/releases/tag/v1.9.3
  • nvd.nist.gov/vuln/detail/CVE-2022-31267

Code Behaviors & Features

Detect and mitigate CVE-2022-31267 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.9.3

Fixed versions

  • 1.9.3

Solution

Upgrade to version 1.9.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

maven/com.gitblit/gitblit/CVE-2022-31267.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:24 +0000.