CVE-2021-37305
Java vulnerability analysis and mitigation

Overview

An Insecure Permissions issue was discovered in jeecg-boot version 2.4.5 and earlier. The vulnerability allows remote attackers to gain escalated privilege and view sensitive information via the API endpoint: /sys/user/querySysUser?username=admin. This vulnerability was assigned CVE-2021-37305 and was disclosed in February 2023 (NVD, GitHub Issue).

Technical details

The vulnerability exists in the API endpoint /sys/user/querySysUser which exposes sensitive user information without proper authentication. The issue has been assigned a CVSS v3.1 Base Score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. This indicates that the vulnerability can be exploited remotely without requiring privileges or user interaction, and primarily impacts confidentiality (NVD).

Impact

The vulnerability allows unauthorized access to sensitive user information including email addresses and phone numbers. Additionally, attackers can enumerate existing usernames in the system through the /sys/user/checkOnlyUser endpoint, potentially facilitating further attacks (GitHub Issue).

Mitigation and workarounds

Users should upgrade to a version newer than 2.4.5 of jeecg-boot. The vulnerability has been classified under CWE-732 (Incorrect Permission Assignment for Critical Resource), suggesting that proper access controls should be implemented on the affected API endpoints (NVD).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management