ipvs: fix integer overflow in ftp helper port/address parsing
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 7.3epss 0.4%
probabilidad de explotación
0.4%top 63% de las CVE
explotación observada
noninguna fuente lo reporta
In the Linux kernel, the following vulnerability has been resolved:
ipvs: fix integer overflow in ftp helper port/address parsing
ip_vs_ftp_get_addrport() accumulates decimal digits into a __u16
(hport) and into unsigned char (p[]) without checking for overflow.
A crafted FTP PASV/EPSV response with an over-long port or address
octet wraps the value, so the helper configures the data connection
with a truncated port/address.
The netfilter conntrack FTP helper had the same defect, fixed in
commit 2b413fc689ba ("netfilter: nf_conntrack_ftp: avoid u16
overflows"). Apply the equivalent fix here: widen the port accumulator
to u32 and reject values above 65535, and reject address octets above
255.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/00bcc6d679262ea42688fba1d7819ea6e56f12efhttps://git.kernel.org/stable/c/4aed450adaee3a021db27be94c61fe025b0d05ffhttps://git.kernel.org/stable/c/50cb9b7263a2ed01f7d2f97818a800c2ee05f661https://git.kernel.org/stable/c/b1908bff0faaa94d55be72da65879cad632e8236https://git.kernel.org/stable/c/d02de9a7a7e2484da0cf37e50614840623b98a62https://git.kernel.org/stable/c/deaa88fa010ba0dfc554d09e006ddd1ce9945c82https://git.kernel.org/stable/c/e625a9477d12baaff4025c5f9989184a907ea8fchttps://git.kernel.org/stable/c/fc1493c905d7e0bc8830c1d83915cb7831daf1a1