GitHub Advisoryadvisory · PyPI
GHSA-g7jq-j257-rww2 OpenStack Swift: s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body
HIGH
Official page ↗
- Aliases
- CVE-2026-49017
- Ecosystem
- PyPI
- Packages
- swift
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
- Weaknesses
- CWE-835
- Reviewed
- 2026-07-01
Affected packages
• PyPI swift: >= 2.36.0, <= 2.36.1 (no fix yet)
• PyPI swift: >= 2.37.0, <= 2.37.1 (no fix yet)
Description
In OpenStack Swift before 2.36.2 and 2.37.2, s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body. The StreamingInput class repeatedly appends an empty buffer and re-reads, causing the proxy-server worker handling the request to become permanently unresponsive with increasing CPU and memory consumption. An authenticated attacker can systematically exhaust all proxy-server workers, resulting in denial of service. The defect was introduced in Swift 2.36.0.
Related
Alias · CVE (1)
- CVE-2026-49017 In OpenStack Swift before 2.36.2 and 2.37.2, s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request… vulnerability
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-49017 advisory
- https://bugs.launchpad.net/bugs/2152205 web
- https://github.com/openstack/swift package
- https://review.opendev.org/c/openstack/swift/+/987957 web
- https://review.opendev.org/c/openstack/swift/+/988093 web
- http://www.openwall.com/lists/oss-security/2026/05/27/9 web
- http://www.openwall.com/lists/oss-security/2026/06/02/6 web