CVE-2022-23223:
Password exposure in ShenYu
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.87169%
CWE
Published
1/28/2022
Updated
10/4/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.shenyu:shenyu-common | maven | >= 2.4.0, < 2.4.2 | 2.4.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from two key issues: 1) The queryDashboardUsers
method actively decrypted passwords and included them in responses. 2) The DashboardUserVO
class lacked @JsonIgnore on the password field, enabling credential exposure through API serialization. The fix removed password decryption logic, added proper security annotations (@RequiresPermissions), and implemented @JsonIgnore on the password field. The commit diff shows removal of password decryption lines and security annotation additions, confirming this function
's central role in the vulnerability.