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:13.796697Z
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
{
    "nvd_published_at": "2019-08-26T18:15:00Z",
    "cwe_ids": [
        "CWE-770"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:23:35Z"
}
References

Affected packages

crates.io / protobuf

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "protobuf::stream::read_raw_bytes_into"
    ]
}