#VU62081 Type conversion in Ruby - CVE-2022-28739
Published: April 12, 2022 / Updated: July 20, 2022
Vulnerability identifier: #VU62081
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-28739
CWE-ID: CWE-704
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Ruby
Ruby
Software vendor:
Ruby
Ruby
Description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to a type conversion error in some convertion methods like Kernel#Float</code> and <code>String#to_f. A remote attacker can pass specially crafted data to the affected application, trigger memory corruption and execute arbitrary code in the system.
Remediation
Install updates from vendor's website.