bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

integer overflow vulnerability in strings


From: Itay Beladev
Subject: integer overflow vulnerability in strings
Date: Tue, 5 Mar 2024 21:16:51 +0200

There is an integer overflow in strings.c, which can lead to heap overflow leading to RCE on the strings binary.
An attacker needs to have access to the `-n` parameter, to trigger this vulnerability.

PoC: `strings -n 4294967295 /usr/bin/strings`

the bug occurs here, in line 270:
image.png
And also here:
image.png
A CVE has been already assigned, its CVE-2024-27667.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]