CVE-2023-31581 json
Sureness uses hardcoded key
published 3y ago modified 4mo ago also GHSA-3j2f-58rq-g6p7 , EUVD-2023-2629
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 63%
- public exploits
- 0
- none known
Summary
Dromara Sureness before v1.0.8 was discovered to use a hardcoded key.
Patch / fix
- maven com.usthe.sureness:sureness-core 1.0.8
- dromara sureness 1.0.8
Is CVE-2023-31581 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
1.01% chance of exploitation in the next 30 days, higher than 63% of all scored CVEs (FIRST EPSS, 2026-11-15).
Exploits and checks
- github.com https://github.com/dromara/sureness/issues/164 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.usthe.sureness:sureness-core | <1.0.8 |
1.0.8 |
Classification
- Weakness
-
- CWE-798 Use of Hard-coded Credentials
References
-
github.com
/dromara/sureness/commit/12987a72cbf1eabbca1e308ed1fe9445958aeca7
web
-
github.com
/dromara/sureness/issues/164
web, exploit, issue-tracking
-
github.com
/xubowenW/JWTissues/blob/main/sureness%20secure%20issues.md
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2023-31581
advisory
-
github.com
/dromara/sureness
package
Sources
- CVE List CVE-2023-31581
- GitHub Advisory GHSA-3j2f-58rq-g6p7
- NVD CVE-2023-31581
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.