CVE Catalog

GHSA-42qh-8mx8-7wqm

Unknown
Published: —Translated: NVD NIST

Summary

rack-proxy versions 1.0.0 through 1.0.2 can forward an incorrect Content-Length when a backend response contains both Transfer-Encoding and Content-Length headers. Net::HTTP removes chunked framing from the body, while rack-proxy strips Transfer-Encoding but retains the backend-supplied Content-Length.

Risk Assessment

A mismatch between the actual body length and the declared Content-Length header may cause clients or intermediary proxies to misinterpret the response, potentially enabling request/response smuggling attacks.

Recommendation

Upgrade rack-proxy to a version newer than 1.0.2 that contains the fix for this issue. If upgrading is not possible, consider removing or normalizing the Content-Length header in responses that include Transfer-Encoding.

Related vulnerabilities

Original NVD description (English source)

## Summary rack-proxy 1.0.0 through 1.0.2 can forward an incorrect Content-Length when a backend response contains both Transfer-Encoding and Content-Length. Net::HTTP removes chunked framing from the body, while rack-proxy strips Transfer-Encoding but retains the backend-supplied Content-Length. T

Vulnerability data from NVD (NIST) · CISA KEV · EPSS