CVE-2019-12399
Vulnerability in Apache Kafka
Check your servers for CVE-2019-12399
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-12399 affects kafka, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
When Connect workers in Apache Kafka 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, or 2.3.0 are configured with one or more config providers, and a connector is created/updated on that Connect cluster to use an externalized secret variable in a substring of a connector configuration property value, then any client can issue a request to the same Connect cluster to obtain the connector's task configuration and the response will contain the plaintext secret rather than the externalized secrets variables.
Exploitation
EPSS 3.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 88.9% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Kafka |
affected Apache Kafka 2.0.0 affected 2.0.1 affected 2.1.0 affected 2.1.1 affected 2.2.0 affected 2.2.1 affected 2.3.0
|
Is my server affected?
Find the installed version of kafka and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i kafka
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-12399 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-12399RHEL, Rocky, Alma, Fedora
rpm -q kafka
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-12399Alpine
apk list --installed | grep -i kafkaWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-12399
trivy image --scanners vuln IMAGE | grep CVE-2019-12399
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- [kafka-users] 20200113 CVE-2019-12399: Apache Kafka Connect REST API may expose plaintext secrets in tasks endpoint lists.apache.org · mailing list
- [oss-security] 20200113 CVE-2019-12399: Apache Kafka Connect REST API may expose plaintext secrets in tasks endpoint openwall.com · mailing list
- [announce] 20200113 CVE-2019-12399: Apache Kafka Connect REST API may expose plaintext secrets in tasks endpoint lists.apache.org · mailing list
- [kafka-dev] 20200113 CVE-2019-12399: Apache Kafka Connect REST API may expose plaintext secrets in tasks endpoint lists.apache.org · mailing list
- [kafka-commits] 20200115 [kafka-site] branch asf-site updated: Add CVE-2019-12399 (#250) lists.apache.org · mailing list
- [druid-commits] 20200126 [GitHub] [druid] clintropolis opened a new pull request #9259: fix build by updating kafka… lists.apache.org · mailing list
- [druid-commits] 20200126 [GitHub] [druid] suneet-s commented on a change in pull request #9259: fix build by… lists.apache.org · mailing list
- [druid-commits] 20200126 [GitHub] [druid] clintropolis commented on a change in pull request #9259: fix build by… lists.apache.org · mailing list
- [druid-commits] 20200126 [GitHub] [druid] clintropolis commented on issue #9259: fix build by updating kafka client… lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] ccaominh opened a new pull request #9261: Address CVE-2019-12399 lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] suneet-s commented on a change in pull request #9259: fix build by… lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] ccaominh commented on issue #9259: fix build by updating kafka client to… lists.apache.org · mailing list
12 more
- [druid-commits] 20200127 [GitHub] [druid] clintropolis commented on a change in pull request #9259: fix build by… lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] clintropolis commented on issue #9259: fix build by updating kafka client… lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] clintropolis commented on a change in pull request #9261: Address… lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] ccaominh closed pull request #9261: Address CVE-2019-12399 lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] ccaominh commented on issue #9261: Address CVE-2019-12399 lists.apache.org · mailing list
- [druid-commits] 20200127 [GitHub] [druid] jihoonson merged pull request #9259: fix build by updating kafka client to… lists.apache.org · mailing list
- [druid-commits] 20200406 [GitHub] [druid] ccaominh commented on issue #9579: Add Apache Ranger Authorization lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpujan2021.html oracle.com
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
- https://www.oracle.com//security-alerts/cpujul2021.html oracle.com
- [kafka-commits] 20210921 [kafka-site] branch asf-site updated: Add CVE-2021-38153 (#375) lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
Source: the record CVE-2019-12399 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse