Intel

AIKIDO-2024-10287

puma is vulnerable to Authentication Bypass by Spoofing

Authentication Bypass by SpoofingCVE-2024-45614 Published Sep 19, 2024

69

Medium Risk

This Affects:

rubypuma
1.0.0 - 5.6.8
Fixed in 5.6.9
6.0.0 - 6.4.2
Fixed in 6.4.3
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to authentication bypass by spoofing. It accepts any headers using underscores if the non-underscore version also exists. This allows an attacker to overwrite values set by intermediate proxies (e.g., X-Forwarded-For).

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

puma is vulnerable to Authentication Bypass by Spoofing in versions 1.0.0 - 5.6.8 and 6.0.0 - 6.4.2.

How to fix this

Upgrade the puma library to the patch version.