CVE-2023-31579
Dromara Lamp-Cloud Use of Hard-coded Cryptographic Key
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
CVE-2023-31579- 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 - Weakness
- CWE-798
- Updated
- 2026-11-02
CVE List No score
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
CVE-2023-31579- Updated
- 2026-11-02
EUVDEUVD-2023-3064 No score
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
EUVD-2023-3064- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xr8c-mq5x-5f56
7.5
Dromara Lamp-Cloud Use of Hard-coded Cryptographic Key
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
GHSA-xr8c-mq5x-5f56- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-798
- Updated
- 2026-11-02
OSVGHSA-xr8c-mq5x-5f56
7.5
Dromara Lamp-Cloud Use of Hard-coded Cryptographic Key
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
GHSA-xr8c-mq5x-5f56- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-798
- Updated
- 2026-11-02
OSV No score
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
- Record
CVE-2023-31579- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
top.tangyh.basic:lamp-coreMaven |
before 3.8.1 | 3.8.1 |
top.tangyh.basic:lamp-utilMaven |
before 3.8.1 | 3.8.1 |
top.tangyh.basic:lamp-coreMaven |
before 3.8.1, plus listed versions 3.4.03.5.03.5.13.5.33.5.5 Show 5 moreShow less3.5.73.5.83.6.03.6.23.7.0 |
3.8.1 |
top.tangyh.basic:lamp-utilMaven |
before 3.8.1, plus listed versions 3.4.03.5.03.5.13.5.33.5.7 Show 4 moreShow less3.5.83.6.03.6.23.7.0 |
3.8.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-31579 is a critical vulnerability (CVSS 9.8) in Tangyh Lamp-cloud, published November 2, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.81%, the 57th percentile. Fixed in top.tangyh.basic:lamp-core 3.8.1.
References
github.com/dromara/lamp-cloud/issues/183
github.com/xubowenW/JWTissues/blob/main/lamp%20issue.md
nvd.nist.gov/vuln/detail/CVE-2023-31579
github.com/dromara/lamp-cloud/commit/31f79b122d85ed1b4f354673212692aa8205437a
github.com/advisories/GHSA-xr8c-mq5x-5f56
github.com/CVEProject/cvelistV5/tree/main/cves/2023/31xxx/CVE-2023-31579.json