Random seed leakage in Jumpserver
JumpServer is an open source bastion host. This vulnerability is due to exposing the random number seed to the API, potentially allowing the randomly generated verification codes to be replayed, which could lead to password resets. If MFA is enabled users are not affect. Users not using local authentication are also not affected. Users are advised to upgrade to either version 2.28.19 or to 3.6.5. There are no known workarounds or this issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-42820
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 23:35 UTC · Revision 1
Source evidence
JumpServer is an open source bastion host. This vulnerability is due to exposing the random number seed to the API, potentially allowing the randomly generated verification codes to be replayed, which could lead to password resets. If MFA is enabled users are not affect. Users not using local authentication are also not affected. Users are advised to upgrade to either version 2.28.19 or to 3.6.5. There are no known workarounds or this issue.
osv:CVE-2023-42820
Complete source record
{
"id": "0d54c18e4ef42869ad2c2f4bf590a082f01d07e299174629efe0a97c0bbb73ba",
"url": "https://osv.dev/vulnerability/CVE-2023-42820",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Random seed leakage in Jumpserver",
"summary": "JumpServer is an open source bastion host. This vulnerability is due to exposing the random number seed to the API, potentially allowing the randomly generated verification codes to be replayed, which could lead to password resets. If MFA is enabled users are not affect. Users not using local authentication are also not affected. Users are advised to upgrade to either version 2.28.19 or to 3.6.5. There are no known workarounds or this issue.",
"evidence": "osv:CVE-2023-42820",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-42820",
"aliases": [
"CVE-2023-42820",
"GHSA-7prv-g565-82qp"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jumpserver/jumpserver",
"type": "GIT",
"events": [
{
"introduced": "f52a0ce96030c048b313803c54df11a17aa58999"
},
{
"fixed": "22df4cba86cfe58cba94408a14b08a3292a07f5c"
},
{
"introduced": "7d3eb8c75d7edeb1cca3da25ae435acf678c4f69"
},
{
"fixed": "811d64be69c242719be21275f29558cb12671e77"
},
{
"fixed": "42337f0d00b2a8d45ef063eb5b7deeef81597da5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.24.0"
},
{
"fixed": "2.28.19"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:fit2cloud:jumpserver:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0.0"
},
{
"fixed": "3.6.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "42337f0d00b2a8d45ef063eb5b7deeef81597da5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.27.0",
"v2.26.0",
"v2.25.0",
"v2.24.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42820.json"
}
}
],
"modified": "2026-10-28T02:30:24.663704400Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42820.json",
"https://github.com/jumpserver/jumpserver/security/advisories/GHSA-7prv-g565-82qp",
"https://nvd.nist.gov/vuln/detail/CVE-2023-42820",
"https://github.com/jumpserver/jumpserver/commit/42337f0d00b2a8d45ef063eb5b7deeef81597da5"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42820.json"
}
},
"related_cves": [
{
"value": "CVE-2023-42820",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 490929,
"published_at": "2023-09-26T20:35:22.853+00:00"
}