{"schemaVersion":3,"id":"CVE-2023-28113","aliases":["GHSA-cqvm-j2r2-hwpg"],"status":"published","duplicateOf":null,"title":null,"description":"russh is a Rust SSH client and server library. Starting in version 0.34.0 and prior to versions 0.36.2 and 0.37.1, Diffie-Hellman key validation is insufficient, which can lead to insecure shared secrets and therefore breaks confidentiality. Connections between a russh client and server or those of a russh peer with some other misbehaving peer are most likely to be problematic. These may vulnerable to eavesdropping. Most other implementations reject such keys, so this is mainly an interoperability issue in such a case. This issue is fixed in versions 0.36.2 and 0.37.1","dates":{"published":"2023-03-16T00:00:00.000Z","modified":"2025-02-25T14:55:51.611Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.9,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Crates.io","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00638,"percentile":0.49885,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00638},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00633,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00633,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00633,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00638,"percentile":0.49885}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00638,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00638,"percentile":0.49885}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_WARP-TECH_RUSSH","name":"Russh","source":"github","url":"https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-358","name":"Improperly Implemented Security Check for Standard","description":"The product does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/358.html"},{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature","description":"The product does not verify, or incorrectly verifies, the cryptographic signature for data.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/347.html"}],"affected":[{"vendor":"Crates.Io","product":"russh","name":"russh","label":"russh","ecosystem":"Crates.Io","cpePart":null,"purl":"pkg:cargo/russh","purlType":"cargo","versions":[{"text":"< 0.36.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.37.0, < 0.37.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.36.2 | ≥ 0.37.0, < 0.37.1","eol":null,"hubHref":null},{"vendor":"russh_project","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.34.0, < 0.36.2","noFixRecorded":false,"fixedIn":null},{"text":"0.37.0","noFixRecorded":false,"fixedIn":null},{"text":"0.37.0:beta1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.34.0, < 0.36.2 | 0.37.0 | 0.37.0:beta1","eol":null,"hubHref":"/vendor/russh_project/russh"},{"vendor":"warp-tech","product":"russh","name":"russh","label":"russh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.34.0, < 0.34.0*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.36.2, < 0.36.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.37.0, < 0.37.0*","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.37.1, < 0.37.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.34.0, < 0.34.0* | ≥ 0.36.2, < 0.36.2 | ≥ 0.37.0, < 0.37.0* | ≥ 0.37.1, < 0.37.1","eol":null,"hubHref":"/vendor/warp-tech/russh"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e","label":"github.com/warp-tech/russh/commit/d831a3716d3719dc76f091fcea9d94bd4ef97c6e","hostname":"github.com","tags":["WEB","Patch"]},{"url":"https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L72-L76","label":"github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs#L78-L81","label":"github.com/warp-tech/russh/blob/master/russh/src/kex/dh/groups.rs","hostname":"github.com","tags":["WEB","Product"]},{"url":"https://github.com/warp-tech/russh/releases/tag/v0.36.2","label":"github.com/warp-tech/russh/releases/tag/v0.36.2","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://github.com/warp-tech/russh/releases/tag/v0.37.1","label":"github.com/warp-tech/russh/releases/tag/v0.37.1","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg","label":"github.com/warp-tech/russh/security/advisories/GHSA-cqvm-j2r2-hwpg","hostname":"github.com","tags":["WEB","Exploit","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28113","label":"nvd.nist.gov/vuln/detail/CVE-2023-28113","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd","label":"github.com/warp-tech/russh/commit/45d2d82930bf4a675bd57abfafec8fe4065befcd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/warp-tech/russh","label":"github.com/warp-tech/russh","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-03-16T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-25T14:55:51.611Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T17:57:25.244Z","stale":false,"partial":false}}