CVE catalog

CVE-2020-5247

puma: CVE-2020-5247

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
2.55% · Oct 25, 2026

In Puma (RubyGem) before 4.3.2 and before 3.12.3, if an application using Puma allows untrusted input in a response header, an attacker can use newline characters (i.e. `CR`, `LF` or`/r`, `/n`) to end the header and inject malicious content, such as additional headers or an entirely new response body. This vulnerability is known as HTTP Response Splitting. While not an attack in itself, response splitting is a vector for several other attacks, such as cross-site scripting (XSS). This is related to CVE-2019-16254, which fixed this vulnerability for the WEBrick Ruby web server. This has been fixed in versions 4.3.2 and 3.12.3 by checking all headers for line endings and rejecting headers with those characters.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpumasid8.0.2-3fixed
Debianpumaforky8.0.2-3fixed
Debianpumatrixie6.6.0-4fixed
Debianpumabookworm5.6.5-3+deb12u1fixed
Debianpumabookworm-security5.6.5-3+deb12u2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpumasourcesid3.12.4-1not yet assignedNot reported[952766]
Debianpumasourceforky3.12.4-1not yet assignedNot reported[952766]
Debianpumasourcetrixie3.12.4-1not yet assignedNot reported[952766]
Debianpumasourcebookworm3.12.4-1not yet assignedNot reported[952766]

[Debian bug #952766]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [puma]Fixed
    Details (2)
    • 5.6.5-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.12.4-1

      dsa · puma · debian · bookworm; dsa · puma · debian · 12

    • 5.6.5-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.12.4-1

      dsa · puma · debian · bookworm; dsa · puma · debian · 12

[Debian 13 (Trixie)]

  • [puma]Fixed
    Details (2)
    • 6.6.0-4 · amd64 · trixie

      Fixed · Fixed: 3.12.4-1

      dsa · puma · debian · 13

    • 6.6.0-4 · arm64 · trixie

      Fixed · Fixed: 3.12.4-1

      dsa · puma · debian · 13

Observed:

References