# Puma vulnerable to HTTP Request Smuggling

Advisory record · `GHSA-h99w-9q5r-gjq9`

- **Identifiers:** `GHSA-h99w-9q5r-gjq9` · `CVE-2022-24790`
- **State:** Confirmed
- **Severity:** CVSS 9.1 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-444](https://cwe.mitre.org/data/definitions/444.html)
- **Tags:** [HTTP request smuggling](https://agentprime.io/advisories/tag/request-smuggling.md)
- **Published:** 30 Mar 2022
- **Updated:** 16 Feb 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 30 Mar 2022, 21:48 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.1: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `puma` (RubyGems): affected `>=5.0.0, <5.6.4 || <4.3.12`; fixed in `5.6.4`, `4.3.12`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.1 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.022, the 82nd percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 30 Mar 2022, 16:16 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9)

## Sources

- [GitHub Advisory Database: GHSA-h99w-9q5r-gjq9](https://github.com/advisories/GHSA-h99w-9q5r-gjq9)
- [OSV: GHSA-h99w-9q5r-gjq9](https://osv.dev/vulnerability/GHSA-h99w-9q5r-gjq9)
- <https://github.com/puma/puma/security/advisories/GHSA-h99w-9q5r-gjq9>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24790>
- <https://github.com/puma/puma/commit/5bb7d202e24dec00a898dca4aa11db391d7787a5>
- <https://github.com/puma/puma>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/puma/CVE-2022-24790.yml>
- <https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB>
- <https://portswigger.net/web-security/request-smuggling>
- <https://security.gentoo.org/glsa/202208-28>
- <https://www.debian.org/security/2022/dsa-5146>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-h99w-9q5r-gjq9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-h99w-9q5r-gjq9/>. Everything for agents: <https://agentprime.io/llms.txt>.
