A flaw was found in Rack. A remote attacker can exploit this vulnerability by injecting regular expression metacharacters into the X-Accel-Mapping request header. This improper input validation in Rack::Sendfile#map_accel_path allows the attacker to control the generated X-Accel-Redirect response header. Consequently, in deployments using Rack::Sendfile with x-accel-redirect, this can cause nginx to serve unintended files from configured internal locations, leading to information disclosure.
Exploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:HI:NA:N5.9/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N