CVE-2024-49580: Ktor client core jvm JetBrains Ktor Information Disclosure Vulnerability
MODERATECVE-2024-49580 is a MODERATE (CVSS 5.3) jetbrains ktor information disclosure vulnerability (CWE-524: Use of Cache Containing Sensitive Information) affecting Ktor client core jvm libraries in the Maven ecosystem. The issue involves jetbrains ktor information disclosure. Remediation is available by upgrading affected packages to version 2.3.13.
CVE-2024-49580 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-49580
To remediate this vulnerability, upgrade all affected Ktor client core jvm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>io.ktor</groupId>
<artifactId>ktor-client-core-jvm</artifactId>
<version>2.3.13</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=io.ktor
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-49580, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=io.ktor
Analyze the terminal output to locate any version of Ktor client core jvm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.13), your application is affected.
Note: The mvn dependency:tree -Dincludes=io.ktor command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-524: Use of Cache Containing Sensitive Information, where the code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere. In Ktor client core jvm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-49580 Affected Ktor client core jvm Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
io.ktor:ktor-client-core-jvm
|
Maven |
< 2.3.13
|
2.3.13
|
References
Frequently Asked Questions
What is CVE-2024-49580?
Which Ktor client core jvm versions are affected?
What version fixes CVE-2024-49580?
Is ktor-client-core-jvm affected?
What is the CVSS score of CVE-2024-49580?
What CWE is associated with CVE-2024-49580?
How can I check Maven dependencies for CVE-2024-49580?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8qv4-773j-c979",
"modified" : "2024-12-06T18:22:23Z",
"published" : "2024-10-17T15:31:08Z",
"aliases" : [ "CVE-2024-49580" ],
"summary" : "JetBrains Ktor information disclosure",
"details" : "Improper caching in JetBrains Ktor before 3.0.0 in the `HttpCache` Plugin could lead to response information disclosure.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "io.ktor:ktor-client-core-jvm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.13"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-49580"
}, {
"type" : "WEB",
"url" : "https://github.com/ktorio/ktor/pull/4337"
}, {
"type" : "WEB",
"url" : "https://github.com/ktorio/ktor/pull/4368"
}, {
"type" : "WEB",
"url" : "https://github.com/ktorio/ktor/commit/0665736fc35c8ab5525241e975f36819b67f9d3e"
}, {
"type" : "WEB",
"url" : "https://github.com/ktorio/ktor/commit/d6c3a51df169c163e8f0b9ce77bbe543c70116ac"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/ktorio/ktor"
}, {
"type" : "WEB",
"url" : "https://github.com/ktorio/ktor/releases/tag/2.3.13"
}, {
"type" : "WEB",
"url" : "https://www.jetbrains.com/privacy-security/issues-fixed"
}, {
"type" : "WEB",
"url" : "https://youtrack.jetbrains.com/issue/KTOR-7483"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-524" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-05T17:56:52Z",
"nvd_published_at" : "2024-10-17T13:15:14Z"
}
}