Bug 2325340 (CVE-2024-52533) - CVE-2024-52533 glib: buffer overflow in set_connect_msg()
Summary: CVE-2024-52533 glib: buffer overflow in set_connect_msg()
Keywords:
Status: NEW
Alias: CVE-2024-52533
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2325360 2325361 2325362
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-11 23:01 UTC by OSIDB Bzimport
Modified: 2025-10-29 02:39 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:
omaciel: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2025:11338 0 None None None 2025-07-16 15:24:13 UTC
Red Hat Product Errata RHBA-2025:11383 0 None None None 2025-07-17 14:24:05 UTC
Red Hat Product Errata RHBA-2025:11601 0 None None None 2025-07-23 11:54:36 UTC
Red Hat Product Errata RHBA-2025:11604 0 None None None 2025-07-23 10:40:37 UTC
Red Hat Product Errata RHBA-2025:11667 0 None None None 2025-07-23 17:56:56 UTC
Red Hat Product Errata RHBA-2025:12069 0 None None None 2025-07-29 10:29:00 UTC
Red Hat Product Errata RHBA-2025:12287 0 None None None 2025-07-30 10:03:48 UTC
Red Hat Product Errata RHBA-2025:12321 0 None None None 2025-07-30 21:06:38 UTC
Red Hat Product Errata RHBA-2025:12357 0 None None None 2025-07-31 09:59:49 UTC
Red Hat Product Errata RHSA-2025:0936 0 None None None 2025-02-04 00:29:40 UTC
Red Hat Product Errata RHSA-2025:10855 0 None None None 2025-07-14 08:31:23 UTC
Red Hat Product Errata RHSA-2025:11140 0 None None None 2025-07-15 13:16:10 UTC
Red Hat Product Errata RHSA-2025:11327 0 None None None 2025-07-16 14:05:52 UTC
Red Hat Product Errata RHSA-2025:11373 0 None None None 2025-07-17 09:07:08 UTC
Red Hat Product Errata RHSA-2025:11374 0 None None None 2025-07-17 09:46:02 UTC
Red Hat Product Errata RHSA-2025:12275 0 None None None 2025-07-30 09:22:43 UTC
Red Hat Product Errata RHSA-2025:13276 0 None None None 2025-08-07 06:31:32 UTC
Red Hat Product Errata RHSA-2025:14988 0 None None None 2025-09-02 02:46:52 UTC
Red Hat Product Errata RHSA-2025:14989 0 None None None 2025-09-02 02:05:46 UTC
Red Hat Product Errata RHSA-2025:14990 0 None None None 2025-09-02 01:39:44 UTC
Red Hat Product Errata RHSA-2025:14991 0 None None None 2025-09-02 02:07:56 UTC

Description OSIDB Bzimport 2024-11-11 23:01:12 UTC
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.

Comment 2 David McInnis 2024-11-27 20:59:45 UTC
RHEL 9 is in a "Will not fix" state according to CVE-2024-52533.

Can anyone explain the justification for not fixing for RHEL9?

Also, is there a link with additional Red Hat information beyond this bug and the CVE page?

Thanks,

-Dave

Comment 4 Alison Dudiak 2025-01-15 18:25:17 UTC
I believe I have been incorrectly added to this ticket. Nothing to report.

Comment 5 errata-xmlrpc 2025-02-04 00:29:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:0936 https://access.redhat.com/errata/RHSA-2025:0936

Comment 7 Michael Catanzaro 2025-04-14 16:56:16 UTC
(In reply to David McInnis from comment #2)
> RHEL 9 is in a "Will not fix" state according to CVE-2024-52533.
> 
> Can anyone explain the justification for not fixing for RHEL9?

Hi, this is a very low-severity issue. Only affects you if (a) username component of URL is exactly 255 bytes, AND (b) hostname component of URL is also exactly 255 bytes. In the extremely unlikely event you're using a socks4a proxy with a URL that meets both of those conditions, or have decided to allow an attacker to specify which proxy URLs to use for some very strange reason, then the impact is a one byte out of bounds write that is not attacker-controlled (it will always be the trailing nul byte). Suffice to say CVSS scores do not always map well to actual risk, and I wouldn't worry about this one.

If I were analyzing this today, I would not have requested a CVE at all since the risk here is very low. Surely there are very many far more serious issues that never receive CVE IDs. However, it is an out of bounds write, so it is technically a vulnerability.

> Also, is there a link with additional Red Hat information beyond this bug
> and the CVE page?

See: https://gitlab.gnome.org/GNOME/glib/-/issues/3461

Comment 9 errata-xmlrpc 2025-07-14 08:31:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:10855 https://access.redhat.com/errata/RHSA-2025:10855

Comment 10 errata-xmlrpc 2025-07-15 13:16:09 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:11140 https://access.redhat.com/errata/RHSA-2025:11140

Comment 12 errata-xmlrpc 2025-07-16 14:05:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:11327 https://access.redhat.com/errata/RHSA-2025:11327

Comment 15 errata-xmlrpc 2025-07-17 09:07:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2025:11373 https://access.redhat.com/errata/RHSA-2025:11373

Comment 16 errata-xmlrpc 2025-07-17 09:46:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2025:11374 https://access.redhat.com/errata/RHSA-2025:11374

Comment 18 errata-xmlrpc 2025-07-30 09:22:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2025:12275 https://access.redhat.com/errata/RHSA-2025:12275

Comment 20 errata-xmlrpc 2025-08-07 06:31:31 UTC
This issue has been addressed in the following products:

  RHEL-8 based Middleware Containers

Via RHSA-2025:13276 https://access.redhat.com/errata/RHSA-2025:13276

Comment 40 errata-xmlrpc 2025-09-02 01:39:42 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2025:14990 https://access.redhat.com/errata/RHSA-2025:14990

Comment 41 errata-xmlrpc 2025-09-02 02:05:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2025:14989 https://access.redhat.com/errata/RHSA-2025:14989

Comment 42 errata-xmlrpc 2025-09-02 02:07:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2025:14991 https://access.redhat.com/errata/RHSA-2025:14991

Comment 43 errata-xmlrpc 2025-09-02 02:46:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2025:14988 https://access.redhat.com/errata/RHSA-2025:14988


Note You need to log in before you can comment on or make changes to this bug.