Vulnerabilities in pkg:pypi/bounter
PACKAGECVE-2021-41497 is a HIGH (CVSS 7.5) bounter null pointer reference vulnerability (CWE-476: NULL Pointer Dereference) affecting Bounter libraries in the PyPI ecosystem. The issue involves bounter null pointer reference. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/bounter
Vulnerability advisories affecting package pkg:pypi/bounter. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-74xw-gwfm-7pv7 | CVE-2021-41497 | HIGH | bounter Null pointer reference |
CVE-2021-41497 at a Glance
Security Impact
CVSS: 7.5
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:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2021-41497
To remediate this vulnerability, upgrade all affected Bounter 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 bounter>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show bounter
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2021-41497, inspect your installed packages using pip:
pip show bounter
Analyze the terminal output to locate any version of Bounter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show bounter command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-476: NULL Pointer Dereference, where the product dereferences a pointer that it expects to be valid but is null. In Bounter, 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-2021-41497 Affected Bounter Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bounter
|
PyPI |
≤ 1.2.0
|
|
References
Frequently Asked Questions
What is CVE-2021-41497?
Which Bounter versions are affected?
What version fixes CVE-2021-41497?
Is bounter affected?
What is the CVSS score of CVE-2021-41497?
What CWE is associated with CVE-2021-41497?
How can I check PyPI dependencies for CVE-2021-41497?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74xw-gwfm-7pv7",
"modified" : "2024-11-21T22:18:17Z",
"published" : "2021-12-18T00:00:40Z",
"aliases" : [ "CVE-2021-41497" ],
"summary" : "bounter Null pointer reference",
"details" : "Null pointer reference in CMS_Conservative_increment_obj in RaRe-Technologies bounter version 1.01 and 1.10, allows attackers to conduct Denial of Service attacks by inputting a huge width of hash bucket.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "bounter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-41497"
}, {
"type" : "WEB",
"url" : "https://github.com/RaRe-Technologies/bounter/issues/47"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/RaRe-Technologies/bounter"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/bounter/PYSEC-2021-880.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-476" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-21T22:18:17Z",
"nvd_published_at" : "2021-12-17T21:15:00Z"
}
}