CVE-2021-39480: Bingrep Denial of Service Vulnerability
MODERATECVE-2021-39480 is a MODERATE denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Bingrep libraries in the crates.io ecosystem. The issue involves denial of service in bingrep. Remediation is available in the latest vendor maintenance releases.
CVE-2021-39480 at a Glance
How to Fix CVE-2021-39480
To remediate this vulnerability, upgrade all affected Bingrep dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade bingrep to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for bingrep
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-39480, inspect your project dependencies for Bingrep:
inspect dependencies for bingrep
Analyze the terminal output to locate any version of Bingrep 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: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Bingrep, 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-39480 Affected Bingrep Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
bingrep
|
crates.io |
0.8.5
All 1 versions
0.8.5
|
None specified
|
References
Frequently Asked Questions
What is CVE-2021-39480?
Which Bingrep versions are affected?
What version fixes CVE-2021-39480?
Is bingrep affected?
What CWE is associated with CVE-2021-39480?
How can I check crates.io dependencies for CVE-2021-39480?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-gm68-g349-gxgg",
"modified" : "2022-01-28T22:20:30Z",
"published" : "2022-01-28T22:35:16Z",
"aliases" : [ "CVE-2021-39480" ],
"summary" : "Denial of service in bingrep",
"details" : "Bingrep v0.8.5 was discovered to contain a memory allocation failure which can cause a Denial of Service (DoS).",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "bingrep"
},
"versions" : [ "0.8.5" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-39480"
}, {
"type" : "WEB",
"url" : "https://github.com/m4b/bingrep/issues/30"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/m4b/bingrep"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-01-28T22:20:30Z",
"nvd_published_at" : "2022-01-21T22:15:00Z"
}
}