CVE-2018-1002150: Koji Koji Hub Call Does Not Vulnerability
CRITICALCVE-2018-1002150 is a CRITICAL (CVSS 9.1) koji hub call does not vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting Koji libraries in the PyPI ecosystem. The issue involves koji hub call does not perform correct access checks. Remediation is available by upgrading affected packages to version 1.15.1, 1.14.1, 1.13.1, 1.12.1.
CVE-2018-1002150 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2018-1002150
To remediate this vulnerability, upgrade all affected Koji 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 koji>=1.15.1
pip install koji>=1.14.1
pip install koji>=1.13.1
pip install koji>=1.12.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show koji
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-1002150, inspect your installed packages using pip:
pip show koji
Analyze the terminal output to locate any version of Koji in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.1), your application is affected.
Note: The pip show koji command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In Koji, 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-2018-1002150 Affected Koji Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
koji
|
PyPI |
≥ 1.15
< 1.15.1
All 1 versions
1.15
|
1.15.1
|
|
koji
|
PyPI |
≥ 1.14
< 1.14.1
All 1 versions
1.14
|
1.14.1
|
|
koji
|
PyPI |
≥ 1.13
< 1.13.1
All 1 versions
1.13
|
1.13.1
|
|
koji
|
PyPI |
≥ 1.12
< 1.12.1
All 1 versions
1.12
|
1.12.1
|
References
Frequently Asked Questions
What is CVE-2018-1002150?
Which Koji versions are affected?
What version fixes CVE-2018-1002150?
Is koji affected?
What is the CVSS score of CVE-2018-1002150?
What CWE is associated with CVE-2018-1002150?
How can I check PyPI dependencies for CVE-2018-1002150?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6mww-xvh7-fq4f",
"modified" : "2024-09-27T19:25:29Z",
"published" : "2018-07-12T20:29:40Z",
"aliases" : [ "CVE-2018-1002150" ],
"summary" : "Koji hub call does not perform correct access checks",
"details" : "Koji version 1.12, 1.13, 1.14 and 1.15 contain an incorrect access control vulnerability resulting in arbitrary filesystem read/write access. This vulnerability has been fixed in versions 1.12.1, 1.13.1, 1.14.1 and 1.15.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "koji"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.15"
}, {
"fixed" : "1.15.1"
} ]
} ],
"versions" : [ "1.15" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "koji"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.14"
}, {
"fixed" : "1.14.1"
} ]
} ],
"versions" : [ "1.14" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "koji"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.13"
}, {
"fixed" : "1.13.1"
} ]
} ],
"versions" : [ "1.13" ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "koji"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.12"
}, {
"fixed" : "1.12.1"
} ]
} ],
"versions" : [ "1.12" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-1002150"
}, {
"type" : "WEB",
"url" : "https://docs.pagure.org/koji/CVE-2018-1002150"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6mww-xvh7-fq4f"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/koji/PYSEC-2018-86.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://pagure.io/koji"
}, {
"type" : "WEB",
"url" : "https://pagure.io/koji/c/ab1ade7"
}, {
"type" : "WEB",
"url" : "https://pagure.io/koji/issue/850"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:19:49Z",
"nvd_published_at" : "2018-04-04T20:29:00Z"
}
}