CVE-2023-31581 — Vulnerability in com.usthe.sureness:sureness-core...
CRITICAL
Sureness uses hardcoded key
Published October 25, 2023Updated February 16, 2024Source: osv
Summary
Dromara Sureness before v1.0.8 was discovered to use a hardcoded key.
Advisory Timeline
- First published October 25, 2023 (1083 days ago).
- Last revised February 16, 2024 — 114 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Maven
Update com.usthe.sureness:sureness-core to 1.0.8 or later<!-- Update pom.xml dependency version to 1.0.8 for com.usthe.sureness:sureness-core -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.usthe.sureness:sureness-core | maven | 0.0.1, 0.0.1.1, 0.0.2, 0.0.2.1 (+29 more) | 1.0.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-798Use of Hard-coded CredentialsMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-31581ADVISORY
- https://github.com/dromara/sureness/issues/164WEB
- https://github.com/dromara/sureness/commit/12987a72cbf1eabbca1e308ed1fe9445958aeca7WEB
- https://github.com/dromara/surenessPACKAGE
- https://github.com/xubowenW/JWTissues/blob/main/sureness%20secure%20issues.mdWEB
Frequently Asked Questions
- What is CVE-2023-31581?
- Sureness uses hardcoded key This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-31581?
- CVE-2023-31581 affects com.usthe.sureness:sureness-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-31581 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-3j2f-58rq-g6p7
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies