CVE-2024–2961 Security Issue Mitigation Script
This repository contains a Bash script to check and mitigate the buffer overflow vulnerability identified in GNU libc (glibc) versions 2.39 and older, known as CVE-2024-2961. This vulnerability affects PHP when the iconv
function is used to translate request encodings to/from certain Chinese Extended encodings (ISO-2022-CN-EXT). If exploited, it can lead to potential wide-ranging impacts.
- Ensure you have the necessary permissions to modify system configuration files.
- The script requires basic utilities such as
ldd
,iconv
,grep
, andfind
to be available on your system.
git clone https://github.com/yourusername/CVE-2024-2961
cd CVE-2024-2961
chmod +x fix.sh
sudo ./fix.sh