---
title: "CVE-2023-31581: Sureness uses hardcoded key"
url: https://erroneo.us/security/cve/CVE-2023-31581/
description: "CVE-2023-31581 (com.usthe.sureness:sureness-core (Maven)): Dromara Sureness before v1.0.8 was discovered to use a hardcoded key."
type: vulnerability-record
section: "Security Digest"
date_published: 2023-10-24
date_modified: 2024-09-17
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-31581"
kev: false
cvss: 9.8
epss: 0.00808
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-31581: Sureness uses hardcoded key

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.8% , percentile 56: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 56% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes com.usthe.sureness:sureness-core (Maven) < 1.0.8, fixed in 1.0.8 . Check your lockfile, including transitive dependencies.

## What it is

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

## Affected packages

- Maven `com.usthe.sureness:sureness-core` < 1.0.8 → fixed: 1.0.8

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.81% probability of exploitation activity in the next 30 days; percentile 56.

## Sources

- [GitHub Advisory GHSA-3j2f-58rq-g6p7](https://github.com/advisories/GHSA-3j2f-58rq-g6p7)
- [CVE.org record CVE-2023-31581](https://www.cve.org/CVERecord?id=CVE-2023-31581)
- [NVD entry CVE-2023-31581](https://nvd.nist.gov/vuln/detail/CVE-2023-31581)
- [github.com](https://github.com/dromara/sureness/issues/164)
- [github.com](https://github.com/xubowenW/JWTissues/blob/main/sureness%20secure%20issues.md)
- [github.com](https://github.com/dromara/sureness/commit/12987a72cbf1eabbca1e308ed1fe9445958aeca7)

---
Source page: https://erroneo.us/security/cve/CVE-2023-31581/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
