Vulnerabilities in pkg:pypi/ipa
PACKAGECVE-2019-14867 is a HIGH (CVSS 8.8) code injection vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Ipa libraries in the PyPI ecosystem. The issue involves code injection in freeipa. Remediation is available by upgrading affected packages to version 4.6.7, 4.7.4, 4.8.3.
pkg:pypi/ipa
Vulnerability advisories affecting package pkg:pypi/ipa. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7hpj-hfcr-5qwm | CVE-2019-14867 | HIGH | Code injection in FreeIPA |
| GHSA-w4q7-f34x-vpgc | CVE-2019-10195 | MODERATE | FreeIPA logs passwords embedded in commands in calls using batch |
CVE-2019-14867 at a Glance
Security Impact
CVSS: 8.8
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:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2019-14867
To remediate this vulnerability, upgrade all affected Ipa 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 ipa>=4.6.7
pip install ipa>=4.7.4
pip install ipa>=4.8.3
pip install freeipa>=4.6.7
pip install freeipa>=4.7.4
pip install freeipa>=4.8.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show ipa
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-14867, inspect your installed packages using pip:
pip show ipa
Analyze the terminal output to locate any version of Ipa in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.7), your application is affected.
Note: The pip show ipa command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Ipa, 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-2019-14867 Affected Ipa Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ipa
|
PyPI |
≥ 4.6.2
< 4.6.7
|
4.6.7
|
|
ipa
|
PyPI |
≥ 4.7.0
< 4.7.4
|
4.7.4
|
|
ipa
|
PyPI |
≥ 4.8.0
< 4.8.3
|
4.8.3
|
|
freeipa
|
PyPI |
≥ 4.6.2
< 4.6.7
|
4.6.7
|
|
freeipa
|
PyPI |
≥ 4.7.0
< 4.7.4
|
4.7.4
|
|
freeipa
|
PyPI |
≥ 4.8.0
< 4.8.3
|
4.8.3
|
References
Frequently Asked Questions
What is CVE-2019-14867?
Which Ipa versions are affected?
What version fixes CVE-2019-14867?
Is ipa affected?
Is freeipa affected?
What is the CVSS score of CVE-2019-14867?
What CWE is associated with CVE-2019-14867?
How can I check PyPI dependencies for CVE-2019-14867?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7hpj-hfcr-5qwm",
"modified" : "2024-09-20T21:57:38Z",
"published" : "2021-12-06T18:17:38Z",
"aliases" : [ "CVE-2019-14867" ],
"summary" : "Code injection in FreeIPA",
"details" : "A flaw was found in IPA, all 4.6.x versions before 4.6.7, all 4.7.x versions before 4.7.4 and all 4.8.x versions before 4.8.3, in the way the internal function ber_scanf() was used in some components of the IPA server, which parsed kerberos key data. An unauthenticated attacker who could trigger parsing of the krb principal key could cause the IPA server to crash or in some conditions, cause arbitrary code to be executed on the server hosting the IPA server.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.2"
}, {
"fixed" : "4.6.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.7.0"
}, {
"fixed" : "4.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "ipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "freeipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.2"
}, {
"fixed" : "4.6.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "freeipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.7.0"
}, {
"fixed" : "4.7.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "freeipa"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-14867"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHBA-2019:4268"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2020:0378"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14867"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-7hpj-hfcr-5qwm"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/ipa/PYSEC-2019-28.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-db/tree/main/vulns/ipa/PYSEC-2019-28.yaml"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/67SEUWJAJ5RMH5K4Q6TS2I7HIMXUGNKF"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WLFL5XDCJ3WT6JCLCQVKHZBLHGW7PW4T"
}, {
"type" : "WEB",
"url" : "https://www.freeipa.org/page/Releases/4.6.7"
}, {
"type" : "WEB",
"url" : "https://www.freeipa.org/page/Releases/4.7.4"
}, {
"type" : "WEB",
"url" : "https://www.freeipa.org/page/Releases/4.8.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400", "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2021-12-06T18:13:11Z",
"nvd_published_at" : null
}
}