PT-2023-21673

CVE-2023-28362

·

Publicado

2023-06-29

·

Atualizado

2026-02-01

Descrição por

CVSS 3.1
4.7
Média
MétricasAV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Rails versions prior to 7.0.5.1 Rails versions prior to 6.1.7.4
Description The redirect to method in Rails allows provided values to contain characters which are not legal in an HTTP header value. This results in the potential for downstream services which enforce RFC compliance on HTTP response headers to remove the assigned Location header. This issue introduces the potential for a Cross-site-scripting (XSS) payload to be delivered on the now static redirection page, requiring user interaction and a Rails app configured to allow redirects to external hosts.
Recommendations For Rails versions prior to 7.0.5.1, update to version 7.0.5.1 to resolve the issue. For Rails versions prior to 6.1.7.4, update to version 6.1.7.4 to resolve the issue. As a temporary workaround, avoid providing user-supplied URLs with arbitrary schemes to the redirect to method.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-4G8V-VG43-WPGF
ALT-PU-2024-7877
DLA-4383-1
DSA-5881-1
OESA-2024-2465
OPENSUSE-SU-2023_3229-1
RHSA-2023:7851
SUSE-SU-2023:3229-1
SUSE-SU-2023_3229-1
SUSE-SU-2023:3255-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾