GHSA-mh6h-f25p-98f8

Suggest an improvement
Source
https://github.com/advisories/GHSA-mh6h-f25p-98f8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-mh6h-f25p-98f8/GHSA-mh6h-f25p-98f8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mh6h-f25p-98f8
Aliases
Published
2021-08-25T20:44:05Z
Modified
2023-11-08T04:01:13Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Uncontrolled memory consumption in protobuf
Details

Affected versions of this crate called Vec::reserve() on user-supplied input. This allows an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data.

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-08-19T21:23:35Z",
    "nvd_published_at":  "2019-08-26T18:15:00Z",
    "severity":  "HIGH"
}
References

Affected packages

crates.io / protobuf

Package

Name
protobuf
View open source insights on deps.dev
Purl
pkg:cargo/protobuf

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.6.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-mh6h-f25p-98f8/GHSA-mh6h-f25p-98f8.json"