# CVE-2023-45613: In JetBrains Ktor before 2.3.5 server certificates were not verified

> CVE-2023-45613 (GitHub advisory GHSA-2fvw-ppfc-cm77) is a medium-severity vulnerability with a CVSS 3.1 base score of 6.8, classed as Improper Certificate Validation (CWE-295), in github.com/ktorio/ktor (Git repository). Affected versions: < 2.3.5. It is fixed in 2.3.5.

Canonical page: https://cveminer.com/vulnerabilities/CVE-2023-45613

| Field | Value |
| --- | --- |
| CVE | CVE-2023-45613 |
| GHSA | GHSA-2fvw-ppfc-cm77 |
| Severity | Medium |
| CVSS 3.1 | 6.8 `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N` (GitHub Advisory Database) |
| CWE | CWE-295 Improper Certificate Validation |
| EPSS | 0.29% (higher than 19% of CVEs) |
| CISA KEV | Not listed |
| SSVC | exploitation none, automatable no, technical impact total |
| Published | 9 Oct 2023 |
| Modified | 18 Sept 2024 |

## Description

In JetBrains Ktor before 2.3.5 server certificates were not verified

## Affected packages

| Package | Ecosystem | PURL | Vulnerable versions | Fixed in |
| --- | --- | --- | --- | --- |
| https://github.com/ktorio/ktor | GIT | `pkg:github/ktorio/ktor` | < 2.3.5 | 2.3.5 |

## Questions

**What is the GHSA ID for CVE-2023-45613?**

GitHub tracks CVE-2023-45613 as GHSA-2fvw-ppfc-cm77.

**What is the CVSS score of CVE-2023-45613?**

CVE-2023-45613 has a CVSS 3.1 base score of 6.8 (Medium), vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.

**Which versions are affected by CVE-2023-45613?**

https://github.com/ktorio/ktor (GIT): < 2.3.5.

**How do I fix CVE-2023-45613?**

Upgrade to 2.3.5 or later.

**What is the Package URL (PURL) for CVE-2023-45613?**

The affected package's PURL is pkg:github/ktorio/ktor.

**Is CVE-2023-45613 exploited in the wild?**

CISA's Known Exploited Vulnerabilities catalog doesn't list CVE-2023-45613. That means no confirmed exploitation has been catalogued, not that it is safe to leave unpatched. CISA's SSVC assessment rates exploitation as "none". EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 19% of CVEs.

## References

- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/45xxx/CVE-2023-45613.json (advisory)
- https://nvd.nist.gov/vuln/detail/CVE-2023-45613 (advisory)
- https://github.com/advisories/GHSA-2fvw-ppfc-cm77 (advisory)
- https://www.jetbrains.com/privacy-security/issues-fixed/

---

Source: CVEminer (https://cveminer.com/vulnerabilities/CVE-2023-45613), compiled from GitHub Advisory Database, OSV (CVE record), CVE.org, CISA KEV catalog. OSV and GitHub Advisory Database content is licensed CC BY 4.0.
