GHSA-r6ww-5963-7r95

Suggest an improvement
Source
https://github.com/advisories/GHSA-r6ww-5963-7r95
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-r6ww-5963-7r95/GHSA-r6ww-5963-7r95.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r6ww-5963-7r95
Aliases
Published
2023-06-09T19:33:16Z
Modified
2024-02-09T00:34:17Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Denial of Service via reachable assertion
Details

A grpc-swift server is vulnerable to a denial of service attack via a reachable assertion. This was due to incorrect logic when handling GOAWAY frames.

The attack is low-effort: it takes very little resources to construct and send the required sequence of frames. The impact on availability is high as the server will crash, dropping all in flight connections and requests.

The issue was discovered by automated fuzz testing and is resolved by fixing the relevant state handling code.

Database specific
{
    "nvd_published_at": "2022-03-25T17:15:00Z",
    "cwe_ids": [
        "CWE-617"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-06-09T19:33:16Z"
}
References

Affected packages

SwiftURL / github.com/grpc/grpc-swift

Package

Name
github.com/grpc/grpc-swift
Purl
pkg:swift/github.com/grpc/grpc-swift

Affected ranges

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