CVE-2024-52533
published 2024-11-11CVE-2024-52533: gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a…
PriorityP346critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.26%
66.4th percentile
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | glib2.0 | < glib2.0 2.74.6-2+deb12u5 (bookworm) | glib2.0 2.74.6-2+deb12u5 (bookworm) |
| gnome | glib | < 2.82.1 | 2.82.1 |
| msrc | azl3_glib_2.78.1-5_on_azure_linux_3.0 | — | — |
| msrc | azl3_glib_2.78.6-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_glib_2.71.0-3_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_glib_2.71.0-4_on_cbl_mariner_2.0 | — | — |
| netapp | ontap_tools | — | — |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
GLib vulnerability
vendor_ubuntu·2024-11-18
CVE-2024-52533 GLib vulnerability
Title: GLib vulnerability
Summary: GLib could be made to crash or other undefined behavior
if it received a specially crafted input.
It was discovered that Glib incorrectly handled certain trailing
characters. An attacker could possibly use this issue to cause
a crash or other undefined behavior.
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
Microsoft
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
vendor_msrc·2024-11-12·CVSS 9.8
CVE-2024-52533 [CRITICAL] CWE-120 gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Red Hat
glib: buffer overflow in set_connect_msg()
vendor_redhat·2024-11-11·CVSS 9.8
CVE-2024-52533 [CRITICAL] CWE-193 glib: buffer overflow in set_connect_msg()
glib: buffer overflow in set_connect_msg()
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
A flaw was found in the Glib library. A buffer overflow condition can be triggered in certain conditions due to an off-by-one error in SOCKS4_CONN_MSG_LEN. This issue may lead to an application crash or other undefined behavior.
Mitigation: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Package: mingw-glib2 (Red Hat Enterprise Linux 10) - Not affected
Package: glib2 (Red Hat Enterpris
Debian
CVE-2024-52533: glib2.0 - gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resu...
vendor_debian·2024·CVSS 9.8
CVE-2024-52533 [CRITICAL] CVE-2024-52533: glib2.0 - gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resu...
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
Scope: local
bookworm: resolved (fixed in 2.74.6-2+deb12u5)
bullseye: resolved (fixed in 2.66.8-1+deb11u5)
forky: resolved (fixed in 2.82.1-1)
sid: resolved (fixed in 2.82.1-1)
trixie: resolved (fixed in 2.82.1-1)
GHSA
GHSA-5rq6-q8gw-qqpr: gio/gsocks4aproxy
ghsa_unreviewed·2024-11-12
CVE-2024-52533 [CRITICAL] CWE-120 GHSA-5rq6-q8gw-qqpr: gio/gsocks4aproxy
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
OSV
CVE-2024-52533: gio/gsocks4aproxy
osv·2024-11-11·CVSS 9.8
CVE-2024-52533 [CRITICAL] CVE-2024-52533: gio/gsocks4aproxy
gio/gsocks4aproxy.c in GNOME GLib before 2.82.1 has an off-by-one error and resultant buffer overflow because SOCKS4_CONN_MSG_LEN is not sufficient for a trailing '\0' character.
No detection rules found.
No public exploits indexed.
https://gitlab.gnome.org/GNOME/glib/-/issues/3461https://gitlab.gnome.org/GNOME/glib/-/releases/2.82.1https://gitlab.gnome.org/Teams/Releng/security/-/wikis/homehttp://www.openwall.com/lists/oss-security/2024/11/12/11https://lists.debian.org/debian-lts-announce/2024/11/msg00020.htmlhttps://security.netapp.com/advisory/ntap-20241206-0009/
2024-11-11
Published