CVE-2015-3206: Kerberos Python-kerberos Vulnerable To KDC Spoofing Vulnerability
CRITICALCVE-2015-3206 is a CRITICAL (CVSS 8.1) python-kerberos vulnerable to kdc spoofing vulnerability (CWE-287: Improper Authentication) affecting Kerberos libraries in the PyPI ecosystem. The issue involves python-kerberos vulnerable to kdc spoofing attacks. Remediation is available by upgrading affected packages to version 1.1.6.
CVE-2015-3206 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2015-3206
To remediate this vulnerability, upgrade all affected Kerberos dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install kerberos>=Latest secure release
pip install pykerberos>=1.1.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show kerberos
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2015-3206, inspect your installed packages using pip:
pip show kerberos
Analyze the terminal output to locate any version of Kerberos in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.6), your application is affected.
Note: The pip show kerberos command checks currently installed packages in your active Python environment.
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 Kerberos, 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-2015-3206 Affected Kerberos Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kerberos
|
PyPI |
≤ 1.2.5
|
|
|
pykerberos
|
PyPI |
< 1.1.6
|
1.1.6
|
References
Frequently Asked Questions
What is CVE-2015-3206?
Which Kerberos versions are affected?
What version fixes CVE-2015-3206?
Is kerberos affected?
Is pykerberos affected?
What is the CVSS score of CVE-2015-3206?
What CWE is associated with CVE-2015-3206?
How can I check PyPI dependencies for CVE-2015-3206?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mffc-9gx5-99g3",
"modified" : "2024-09-27T15:49:07Z",
"published" : "2022-05-14T01:46:42Z",
"aliases" : [ "CVE-2015-3206" ],
"summary" : "python-kerberos vulnerable to KDC spoofing attacks",
"details" : "The `checkPassword` function in python-kerberos does not authenticate the KDC it attempts to communicate with, which allows remote attackers to cause a denial of service (bad response), or have other unspecified impact by performing a man-in-the-middle attack.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "kerberos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pykerberos"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3206"
}, {
"type" : "WEB",
"url" : "https://github.com/apple/ccs-pykerberos/issues/31"
}, {
"type" : "WEB",
"url" : "https://github.com/apple/ccs-pykerberos/commit/9cb61c93f9b24dd18a0a315f3df5445529c5c333"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1223802"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apple/ccs-pykerberos"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/kerberos/PYSEC-2017-49.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pykerberos/PYSEC-2017-66.yaml"
}, {
"type" : "WEB",
"url" : "https://pypi.python.org/pypi/kerberos"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20150910143429/https://trac.calendarserver.org/ticket/833"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228090829/http://www.securityfocus.com/bid/74760"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2015/05/21/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-287" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-23T20:53:08Z",
"nvd_published_at" : "2017-08-25T18:29:00Z"
}
}