CVE-2017-12610: Kafka clients Improper Authentication Vulnerability
MODERATECVE-2017-12610 is a MODERATE (CVSS 6.8) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Kafka clients libraries in the Maven ecosystem. The issue involves improper authentication in apache kafka. Remediation is available by upgrading affected packages to version 0.10.2.2, 0.11.0.2.
CVE-2017-12610 at a Glance
Security Impact
CVSS: 6.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2017-12610
To remediate this vulnerability, upgrade all affected Kafka clients 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>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>0.10.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka-clients</artifactId>
<version>0.11.0.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.kafka
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2017-12610, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.kafka
Analyze the terminal output to locate any version of Kafka clients in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.10.2.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.kafka 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Kafka clients, 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-2017-12610 Affected Kafka clients Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.kafka:kafka-clients
|
Maven |
≥ 0.10.0.0
< 0.10.2.2
|
0.10.2.2
|
|
org.apache.kafka:kafka-clients
|
Maven |
≥ 0.11.0.0
< 0.11.0.2
|
0.11.0.2
|
References
Frequently Asked Questions
What is CVE-2017-12610?
Which Kafka clients versions are affected?
What version fixes CVE-2017-12610?
Is kafka-clients affected?
What is the CVSS score of CVE-2017-12610?
What CWE is associated with CVE-2017-12610?
How can I check Maven dependencies for CVE-2017-12610?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xm78-4m3g-7wm7",
"modified" : "2022-07-01T21:23:20Z",
"published" : "2022-05-13T01:25:19Z",
"aliases" : [ "CVE-2017-12610" ],
"summary" : "Improper Authentication in Apache Kafka",
"details" : "In Apache Kafka 0.10.0.0 to 0.10.2.1 and 0.11.0.0 to 0.11.0.1, authenticated Kafka clients may use impersonation via a manually crafted protocol message with SASL/PLAIN or SASL/SCRAM authentication when using the built-in PLAIN or SCRAM server implementations in Apache Kafka.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.kafka:kafka-clients"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.10.0.0"
}, {
"fixed" : "0.10.2.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.10.2.1"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.kafka:kafka-clients"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.11.0.0"
}, {
"fixed" : "0.11.0.2"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.11.0.1"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-12610"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b6157be1a09df332294213bd21e90dcf9fe4c1810193be54620e4210@%3Cusers.kafka.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujul2020.html"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/104899"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-01T21:23:20Z",
"nvd_published_at" : "2018-07-26T14:29:00Z"
}
}