CVE-2024-52533
glib: buffer overflow in set_connect_msg()
Overview
Description
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-120
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | Glib_jll | <2.82.2+0 | 2.82.2+0 |
Open a package to see all its vulnerabilities.
Operating systems · 53 fixes
Azure Linux 1 release · 1 package
fixed 1
glib
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | glib | 0:2.78.1-5.azl3 |
Oracle Linux 2 releases · 2 packages
fixed 3
glib2
mingw32-glib2
| Release | Package | Fixed in |
|---|---|---|
| 8 | glib2 +5 | 2.56.4-166.el8_10 |
| 9 | glib2 +4 | 2.68.4-16.el9_6.2 |
| 9 | mingw32-glib2 +3 | 2.78.6-2.el9 |
Photon OS 2 releases · 1 package
fixed 2
glib
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | glib +3 | 2.68.4-3.ph4 |
| 5.0 | glib +2 | 2.75.2-6.ph5 |
Red Hat 3 releases · 3 packages
eol 1
wont fix 1
fixed 10
glib2
mingw-glib2
mingw32-glib2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | glib2 +5 | eol | — |
| 8 | mingw-glib2 +4 | wont fix | — |
| 8 | glib2 +3 | 0:2.56.4-10.el8_4.2 | RHSA-2025:14990 |
| 8 | glib2 +3 | 0:2.56.4-158.el8_6.2 | RHSA-2025:14988 |
| 8 | glib2 +3 | 0:2.56.4-162.el8_8 | RHSA-2025:14989 |
| 8 | glib2 +5 | 0:2.56.4-166.el8_10 | RHSA-2025:11327 |
6 more rows
SUSE Linux Enterprise 4 releases · 1 package
fixed 4
glib2-devel
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | glib2-devel +12 | 2.48.2-12.43.1 | SUSE-SU-2024:4051-1 |
| 15.4 | glib2-devel +11 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
| 15.5 | glib2-devel +11 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
| 15.6 | glib2-devel +11 | 2.78.6-150600.4.8.1 | SUSE-SU-2024:4254-1 |
SUSE Linux Enterprise Micro 7 releases · 1 package
fixed 7
glib2-tools
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | glib2-tools +4 | 2.62.6-150200.3.24.1 | SUSE-SU-2024:3998-1 |
| 5.2 | glib2-tools +4 | 2.62.6-150200.3.24.1 | SUSE-SU-2024:3998-1 |
| 5.3 | glib2-tools +4 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
| 5.4 | glib2-tools +4 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
| 5.5 | glib2-tools +4 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
| 6.0 | glib2-tools +4 | 2.76.2-6.1 | SUSE-SU-2025:20095-1 |
1 more row
alma 2 releases · 2 packages
fixed 3
glib2
mingw32-glib2
| Release | Package | Fixed in |
|---|---|---|
| 8 | glib2 +5 | 2.56.4-166.el8_10 |
| 9 | glib2 +4 | 2.68.4-16.el9_6.2 |
| 9 | mingw32-glib2 +3 | 2.78.6-2.el9 |
debian 4 releases · 1 package
fixed 4
glib2-0
| Release | Package | Fixed in |
|---|---|---|
| 11 | glib2-0 | 2.66.8-1+deb11u5 |
| 12 | glib2-0 | 2.74.6-2+deb12u5 |
| 13 | glib2-0 | 2.82.1-1 |
| 14 | glib2-0 | 2.82.1-1 |
echo 1 release · 1 package
fixed 1
glib2-0
| Release | Package | Fixed in |
|---|---|---|
| glib2-0 | 2.74.6-2+deb12u5 |
openSUSE 1 release · 1 package
fixed 1
gio-branding-upstream
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | gio-branding-upstream +24 | 2.82.2-2.1 | openSUSE-SU-2024:14487-1 |
openSUSE Leap Micro 1 release · 1 package
fixed 1
glib2-tools
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.5 | glib2-tools +4 | 2.70.5-150400.3.17.1 | SUSE-SU-2024:4078-1 |
rocky 3 releases · 1 package
fixed 3
glib2
| Release | Package | Fixed in |
|---|---|---|
| 10 | glib2 +2 | 2.80.4-4.el10_0.6 |
| 8 | glib2 +3 | 2.56.4-166.el8_10 |
| 9 | glib2 +3 | 2.68.4-16.el9_6.2 |
root.io debian 3 releases · 1 package
fixed 3
rootio-glib2-0
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-glib2-0 | 2.66.8-1+deb11u5 |
| 12 | rootio-glib2-0 | 2.74.6-2+deb12u5 |
| 13 | rootio-glib2-0 | 2.82.1-1 |
seal Red Hat 1 release · 1 package
fixed 1
glib2
| Release | Package | Fixed in |
|---|---|---|
| 7 | glib2 +1 | 2.56.1-7.el7+sp999 |
seal debian 1 release · 1 package
fixed 1
glib2-0
| Release | Package | Fixed in |
|---|---|---|
| glib2-0 +1 | 2.74.6-2+deb12u7+sp999 |
ubuntu 6 releases · 1 package
fixed 6
glib2-0
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | glib2-0 | 2.56.4-0ubuntu0.18.04.9+esm4 |
| 20.04 | glib2-0 | 2.64.6-1~ubuntu20.04.8 |
| 20.04-ESM | glib2-0 | 2.64.6-1~ubuntu20.04.8 |
| 22.04 | glib2-0 | 2.72.4-0ubuntu2.4 |
| 24.04 | glib2-0 | 2.80.0-6ubuntu3.2 |
| 26.04 | glib2-0 | 2.82.1-0ubuntu1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/11/12/11
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:11140
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:11327
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-52533
- bugzilla.redhat.com https://bugzilla.redhat.com/2325340
- bugzilla.redhat.com https://bugzilla.redhat.com/2364265
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2279632
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2325340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2364265
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-089022.html
Show all 28 references
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-202008.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34397
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-52533
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-4373
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2025-11140.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:11327
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/-/issues/3461
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/glib/-/releases/2.82.1
- gitlab.gnome.org https://gitlab.gnome.org/Teams/Releng/security/-/wikis/home
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-52533.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-11327.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/11/msg00020.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-52533
- security.netapp.com https://security.netapp.com/advisory/ntap-20241206-0009/
- ubuntu.com https://ubuntu.com/security/notices/USN-7114-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-52533
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.