Vulnerabilities in pkg:pypi/rockhopper
PACKAGECVE-2022-4969 is a MODERATE (CVSS 5.3) rockhopper buffer overflow vulnerability vulnerability (CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')) affecting Rockhopper libraries in the PyPI ecosystem. The issue involves rockhopper buffer overflow vulnerability. Remediation is available by upgrading affected packages to version 0.2.0.
pkg:pypi/rockhopper
Vulnerability advisories affecting package pkg:pypi/rockhopper. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4r4c-66gf-g9g5 | CVE-2022-4969 | MODERATE | rockhopper Buffer Overflow vulnerability |
CVE-2022-4969 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L).
How to Fix CVE-2022-4969
To remediate this vulnerability, upgrade all affected Rockhopper 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 rockhopper>=0.2.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show rockhopper
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2022-4969, inspect your installed packages using pip:
pip show rockhopper
Analyze the terminal output to locate any version of Rockhopper in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.2.0), your application is affected.
Note: The pip show rockhopper command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), where the product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer. In Rockhopper, 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-2022-4969 Affected Rockhopper Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rockhopper
|
PyPI |
< 0.2.0
|
0.2.0
|
References
Frequently Asked Questions
What is CVE-2022-4969?
Which Rockhopper versions are affected?
What version fixes CVE-2022-4969?
Is rockhopper affected?
What is the CVSS score of CVE-2022-4969?
What CWE is associated with CVE-2022-4969?
How can I check PyPI dependencies for CVE-2022-4969?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4r4c-66gf-g9g5",
"modified" : "2024-05-28T21:22:45Z",
"published" : "2024-05-28T21:22:45Z",
"aliases" : [ "CVE-2022-4969" ],
"summary" : "rockhopper Buffer Overflow vulnerability",
"details" : "A vulnerability, which was classified as critical, has been found in bwoodsend rockhopper up to 0.1.2. Affected by this issue is the function `count_rows` of the file `rockhopper/src/ragged_array.c` of the component Binary Parser. The manipulation of the argument raw leads to buffer overflow. Local access is required to approach this attack. Upgrading to version 0.2.0 is able to address this issue. The name of the patch is 1a15fad5e06ae693eb9b8908363d2c8ef455104e. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-266312.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "rockhopper"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.2.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.1.2"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-4969"
}, {
"type" : "WEB",
"url" : "https://github.com/bwoodsend/rockhopper/commit/1a15fad5e06ae693eb9b8908363d2c8ef455104e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bwoodsend/rockhopper"
}, {
"type" : "WEB",
"url" : "https://github.com/bwoodsend/rockhopper/releases/tag/v0.2.0"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?ctiid.266312"
}, {
"type" : "WEB",
"url" : "https://vuldb.com/?id.266312"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-120" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-28T21:22:45Z",
"nvd_published_at" : "2024-05-27T17:15:09Z"
}
}