# CVE-2023-31581: Sureness uses hardcoded key

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.01%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-10-24T00:00:00.000Z
- Modified: 2026-06-17T05:57:11.943Z
- Also known as: GHSA-3j2f-58rq-g6p7
- Weaknesses: CWE-798
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

Dromara Sureness before v1.0.8 was discovered to use a hardcoded key.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- com.usthe.sureness:sureness-core (Maven): before 1.0.8
- dromara sureness: before 1.0.8

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/dromara/sureness/issues/164> (exploit, issue-tracking, web)
- <https://github.com/xubowenW/JWTissues/blob/main/sureness%20secure%20issues.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-31581> (advisory)
- <https://github.com/dromara/sureness/commit/12987a72cbf1eabbca1e308ed1fe9445958aeca7> (web)
- <https://github.com/dromara/sureness> (package)

## Sources

- CVE List: [CVE-2023-31581](https://www.cve.org/CVERecord?id=CVE-2023-31581), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-3j2f-58rq-g6p7](https://github.com/advisories/GHSA-3j2f-58rq-g6p7), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2023-31581](https://nvd.nist.gov/vuln/detail/CVE-2023-31581), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-31581 · Whole record: https://cve.day/CVE-2023-31581.json · Rebuilt by cve.day 2026-11-25T22:58:29.041Z
