{"answers":{"affected":"2 open source packages ship an affected version, including github.com/grpc/grpc-swift. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24777 in the wild and no public exploit code.","fix":"Upgrade github.com/grpc/grpc-swift to 1.7.2 or later.","what":"CVE-2022-24777 is a high-severity denial of service vulnerability in grpc-swift, published on 25 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24777 and fix it if it is affected.\n\nWhat it is: CVE-2022-24777 is a high-severity denial of service vulnerability in grpc-swift, published on 25 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-24777 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/grpc/grpc-swift (SwiftURL): affected all versions; fixed in 1.7.2\n- github.com/grpc/grpc-swift (SwiftURL): affected all versions; fixed in 1.7.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-24777/ (Markdown: https://insights.sbomify.com/CVE-2022-24777/index.md)","id":"CVE-2022-24777","markdown":"https://insights.sbomify.com/CVE-2022-24777/index.md","name":"CVE-2022-24777","record":{"aliases":["GHSA-r6ww-5963-7r95"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Swift gRPC library","requires_auth":"none","summary":"A reachable assertion in grpc-swift allows attackers to crash the server via crafted GOAWAY frames, causing denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"grpc_swift","vendor":"linuxfoundation"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"description":"grpc-swift is the Swift language implementation of gRPC, a remote procedure call (RPC) framework. Prior to version 1.7.2, a grpc-swift server is vulnerable to a denial of service attack via a reachable assertion. This is 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. This issue is fixed in version 1.7.2. There are currently no known workarounds.","ecosystems":["SwiftURL"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of Service via reachable assertion in grpc-swift","id":"CVE-2022-24777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":2,"n_references":2,"next":{"headline":"Incorrect Authorization in imgcrypt","id":"CVE-2022-24778"},"packages":[{"ecosystem":"SwiftURL","fixed":["1.7.2"],"introduced":["0"],"last_affected":[],"package":"github.com/grpc/grpc-swift","purl":null,"source":"GHSA-r6ww-5963-7r95"},{"ecosystem":"SwiftURL","fixed":["1.7.2"],"introduced":["0"],"last_affected":[],"package":"github.com/grpc/grpc-swift","purl":"pkg:swift/github.com/grpc/grpc-swift","source":"GHSA-r6ww-5963-7r95"}],"prev":{"headline":"Open Redirect in Flask-AppBuilder","id":"CVE-2022-24776"},"products":["grpc-swift"],"published":"2022-03-25","related":[{"cvss_score":7.5,"headline":"Incomplete Internal State Distinction in GRPCWebToHTTP2ServerCodec","id":"CVE-2021-36153","kev_date_added":null,"published":"2021-07-09"},{"cvss_score":7.5,"headline":"Uncontrolled Recursion in HTTP2ToRawGRPCServerCodec","id":"CVE-2021-36154","kev_date_added":null,"published":"2021-07-09"},{"cvss_score":7.5,"headline":"Uncontrolled Resource Consumption in LengthPrefixedMessageReader","id":"CVE-2021-36155","kev_date_added":null,"published":"2021-07-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["grpc"]},"summary":"A reachable assertion in grpc-swift allows attackers to crash the server via crafted GOAWAY frames, causing denial of service.","url":"https://insights.sbomify.com/CVE-2022-24777/"}