Loading...
Skip to main content

CVE-2023-40175

CRITICAL

Puma HTTP Request/Response Smuggling vulnerability

Published August 18, 2023Updated February 16, 2024Source: osv

Summary

### Impact Prior to version 6.3.1, puma exhibited incorrect behavior when parsing chunked transfer encoding bodies and zero-length Content-Length headers in a way that allowed HTTP request smuggling. The following vulnerabilities are addressed by this advisory: * Incorrect parsing of trailing fields in chunked transfer encoding bodies * Parsing of blank/zero-length Content-Length headers ### Patches The vulnerability has been fixed in 6.3.1 and 5.6.7. ### Workarounds No known workarounds. ### References [HTTP Request Smuggling](https://portswigger.net/web-security/request-smuggling) ### For more information If you have any questions or comments about this advisory: Open an issue in [Puma](https://github.com/puma/puma) See our [security policy](https://github.com/puma/puma/security/policy)

Remediation

Upgrade to the fixed version using your package manager.

Bundler
Update puma to 6.3.1 or later
gem install puma -v 6.3.1
Bundler
Update puma to 5.6.7 or later
gem install puma -v 5.6.7

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

PackageEcosystemAffectedFixed In
puma
rubygems
6.0.0, 6.0.1, 6.0.2, 6.1.0 (+5 more)6.3.1
puma
rubygems
0.8.0, 0.8.1, 0.8.2, 0.9.0 (+148 more)5.6.7

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-40175?
Puma HTTP Request/Response Smuggling vulnerability This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-40175?
CVE-2023-40175 affects puma. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-40175 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-68xg-gqqm-vgj8

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies