Vulnerabilities in pkg:pypi/portage
PACKAGECVE-2013-2100 is a HIGH gentoo portage does not verify vulnerability (General Security Weakness) affecting Portage libraries in the PyPI ecosystem. The issue involves gentoo portage does not verify x.509 certificates from ssl servers. Remediation is available by upgrading affected packages to version 2.1.12.2.
pkg:pypi/portage
Vulnerability advisories affecting package pkg:pypi/portage. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8823-xphr-qw9v | CVE-2013-2100 | HIGH | Gentoo Portage does not verify X.509 certificates from SSL servers |
| GHSA-pw5x-x5jw-ccmh | CVE-2016-20021 | HIGH | Gentoo Portage missing PGP validation of executed code |
CVE-2013-2100 at a Glance
How to Fix CVE-2013-2100
To remediate this vulnerability, upgrade all affected Portage 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 portage>=2.1.12.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show portage
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-2100, inspect your installed packages using pip:
pip show portage
Analyze the terminal output to locate any version of Portage in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.12.2), your application is affected.
Note: The pip show portage command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Portage, 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-2013-2100 Affected Portage Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
portage
|
PyPI |
< 2.1.12.2
|
2.1.12.2
|
References
Frequently Asked Questions
What is CVE-2013-2100?
Which Portage versions are affected?
What version fixes CVE-2013-2100?
Is portage affected?
What CWE is associated with CVE-2013-2100?
How can I check PyPI dependencies for CVE-2013-2100?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8823-xphr-qw9v",
"modified" : "2024-11-22T20:12:21Z",
"published" : "2022-05-17T01:36:20Z",
"aliases" : [ "CVE-2013-2100" ],
"summary" : "Gentoo Portage does not verify X.509 certificates from SSL servers",
"details" : "The urlopen function in pym/portage/util/_urlopen.py in Gentoo Portage 2.1.12, when using HTTPS, does not verify X.509 certificates from SSL servers, which allows man-in-the-middle attackers to spoof servers and modify binary package lists via a crafted certificate.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "portage"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.12.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2100"
}, {
"type" : "WEB",
"url" : "https://bugs.gentoo.org/show_bug.cgi?id=469888"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/84315"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/gentoo/portage"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/portage/PYSEC-2014-115.yaml"
}, {
"type" : "WEB",
"url" : "https://security.gentoo.org/glsa/201507-16"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2013/05/15/5"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2013/05/16/3"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-22T20:12:21Z",
"nvd_published_at" : "2014-09-29T22:55:00Z"
}
}