{"answers":{"affected":"4 open source packages ship an affected version, including github.com/apple/swift-nio.","exploited":"There is no known exploitation of GHSA-mgc4-wqv7-4pxm in the wild and no public exploit code.","fix":"Upgrade github.com/apple/swift-nio to a fixed version for your release line: 1.14.2 or 2.13.1.","what":"GHSA-mgc4-wqv7-4pxm is a vulnerability in github.com/apple/swift-nio, published on 18 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-mgc4-wqv7-4pxm and fix it if it is affected.\n\nWhat it is: GHSA-mgc4-wqv7-4pxm is a vulnerability in github.com/apple/swift-nio, published on 18 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-mgc4-wqv7-4pxm in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apple/swift-nio (SwiftURL): affected from 1.0.0; fixed in 1.14.2\n- github.com/apple/swift-nio (SwiftURL): affected from 1.0.0; fixed in 1.14.2\n- github.com/apple/swift-nio (SwiftURL): affected from 2.0.0; fixed in 2.13.1\n- github.com/apple/swift-nio (SwiftURL): affected from 2.0.0; fixed in 2.13.1\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/GHSA-mgc4-wqv7-4pxm/ (Markdown: https://insights.sbomify.com/GHSA-mgc4-wqv7-4pxm/index.md)","id":"GHSA-mgc4-wqv7-4pxm","markdown":"https://insights.sbomify.com/GHSA-mgc4-wqv7-4pxm/index.md","name":"GHSA-mgc4-wqv7-4pxm","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Swift networking library","requires_auth":"none","summary":"Attackers can exploit HTTP request smuggling via malformed headers to bypass authentication or routing controls in applications using SwiftNIO.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nAffected SwiftNIO systems are vulnerable to request smuggling attacks, in which they parse a given HTTP message differently from other network parties, potentially seeing a different number of requests than other servers. This can lead to failures of authentication, routing, and other issues.\n\nThis vulnerability can be found in the bundled copy of the Node.JS HTTP parser used in the `NIOHTTP1` module.\n\n### Workarounds\n\nNo workaround is available, users must upgrade.\n\n### References\n\nhttps://nodejs.org/en/blog/vulnerability/february-2020-security-releases/#http-request-smuggling-using-malformed-transfer-encoding-header-critical-cve-2019-15605","ecosystems":["SwiftURL"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"SwiftNIO vulnerable to HTTP request smuggling using malformed Transfer-Encoding header","id":"GHSA-mgc4-wqv7-4pxm","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"SwiftURL","product":null,"products":[],"type":"other","year":"2023"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"SwiftURL","fixed":["1.14.2"],"introduced":["1.0.0"],"last_affected":[],"package":"github.com/apple/swift-nio","purl":null,"source":"GHSA-mgc4-wqv7-4pxm"},{"ecosystem":"SwiftURL","fixed":["1.14.2"],"introduced":["1.0.0"],"last_affected":[],"package":"github.com/apple/swift-nio","purl":"pkg:swift/github.com/apple/swift-nio","source":"GHSA-mgc4-wqv7-4pxm"},{"ecosystem":"SwiftURL","fixed":["2.13.1"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/apple/swift-nio","purl":null,"source":"GHSA-mgc4-wqv7-4pxm"},{"ecosystem":"SwiftURL","fixed":["2.13.1"],"introduced":["2.0.0"],"last_affected":[],"package":"github.com/apple/swift-nio","purl":"pkg:swift/github.com/apple/swift-nio","source":"GHSA-mgc4-wqv7-4pxm"}],"products":null,"published":"2023-05-18","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can exploit HTTP request smuggling via malformed headers to bypass authentication or routing controls in applications using SwiftNIO.","url":"https://insights.sbomify.com/GHSA-mgc4-wqv7-4pxm/"}