CVE-2013-1630: Pyshop Pyshop Vulnerable To Man-in-the-middle Attacks Vulnerability
HIGHCVE-2013-1630 is a HIGH pyshop vulnerable to man-in-the-middle attacks vulnerability (CWE-20: Improper Input Validation) affecting Pyshop libraries in the PyPI ecosystem. The issue involves pyshop vulnerable to man-in-the-middle attacks due to using http to retrieve packages from the pypi repository. Remediation is available by upgrading affected packages to version 0.7.1.
CVE-2013-1630 at a Glance
How to Fix CVE-2013-1630
To remediate this vulnerability, upgrade all affected Pyshop 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 pyshop>=0.7.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyshop
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2013-1630, inspect your installed packages using pip:
pip show pyshop
Analyze the terminal output to locate any version of Pyshop in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.1), your application is affected.
Note: The pip show pyshop command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Pyshop, 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-1630 Affected Pyshop Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyshop
|
PyPI |
< 0.7.1
|
0.7.1
|
References
Frequently Asked Questions
What is CVE-2013-1630?
Which Pyshop versions are affected?
What version fixes CVE-2013-1630?
Is pyshop affected?
What CWE is associated with CVE-2013-1630?
How can I check PyPI dependencies for CVE-2013-1630?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f594-f3v3-g649",
"modified" : "2024-10-14T17:11:56Z",
"published" : "2022-05-17T05:03:06Z",
"aliases" : [ "CVE-2013-1630" ],
"summary" : "pyshop vulnerable to man-in-the-middle attacks due to using HTTP to retrieve packages from the PyPI repository",
"details" : "pyshop before 0.7.1 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on package contents, which allows man-in-the-middle attackers to execute arbitrary code via a crafted response to a download operation.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyshop"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1630"
}, {
"type" : "WEB",
"url" : "https://github.com/mardiros/pyshop/commit/ffadb0bcdef1e385884571670210cfd6ba351784"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mardiros/pyshop"
}, {
"type" : "WEB",
"url" : "https://github.com/mardiros/pyshop/blob/master/CHANGES.txt"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pyshop/PYSEC-2013-10.yaml"
}, {
"type" : "WEB",
"url" : "http://www.reddit.com/r/Python/comments/17rfh7/warning_dont_use_pip_in_an_untrusted_network_a"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-30T14:39:09Z",
"nvd_published_at" : "2013-08-06T02:52:00Z"
}
}