Bug 1208040 (CVE-2023-25585) - VUL-1: CVE-2023-25585: binutils: Field `file_table` of `struct module *module` is uninitialized
Summary: VUL-1: CVE-2023-25585: binutils: Field `file_table` of `struct module *module...
Status: RESOLVED FIXED
Alias: CVE-2023-25585
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Normal
Target Milestone: ---
Assignee: Robert Frohl
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/356372/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-25585:2.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-08 09:19 UTC by Robert Frohl
Modified: 2024-02-15 10:13 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2023-02-08 09:19:51 UTC
CVE-2023-25585

In Binutils, the field `file_table` of `struct module *module` is created without being initialized, and then its uninitialized field is used to assign `*file`, which is a pointer to a global variable `filename`. Later on when this variable is used, a segmentation fault occurs.

Upstream bug:

https://sourceware.org/bugzilla/show_bug.cgi?id=29892

Upstream fix:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=65cf035b8dc1df5d8020e0b1449514a3c42933e7

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-25585
https://bugzilla.redhat.com/show_bug.cgi?id=2167498
Comment 2 Michael Matz 2023-02-08 14:50:20 UTC
This problem (and fix) only affects bfd/vms-alpha.c and hence the "vms-alpha" target, which is not build on any SLE.  The PoC will simply get a "file format not recognized" error.

This can be closed as resolved right away.
Comment 3 OBSbugzilla Bot 2023-03-21 17:15:08 UTC
This is an autogenerated message for OBS integration:
This bug (1208040) was mentioned in
https://build.opensuse.org/request/show/1073595 Factory / binutils
Comment 6 Maintenance Automation 2023-09-20 08:30:01 UTC
SUSE-SU-2023:3695-1: An update that solves 20 vulnerabilities, contains two features and has three security fixes can now be installed.

Category: security (important)
Bug References: 1200962, 1206080, 1206556, 1208037, 1208038, 1208040, 1208409, 1209642, 1210297, 1210733, 1213282, 1213458, 1214565, 1214567, 1214579, 1214580, 1214604, 1214611, 1214619, 1214620, 1214623, 1214624, 1214625
CVE References: CVE-2020-19726, CVE-2021-32256, CVE-2022-35205, CVE-2022-35206, CVE-2022-4285, CVE-2022-44840, CVE-2022-45703, CVE-2022-47673, CVE-2022-47695, CVE-2022-47696, CVE-2022-48063, CVE-2022-48064, CVE-2022-48065, CVE-2023-0687, CVE-2023-1579, CVE-2023-1972, CVE-2023-2222, CVE-2023-25585, CVE-2023-25587, CVE-2023-25588
Jira References: PED-1435, PED-5778
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): binutils-2.41-9.53.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): binutils-2.41-9.53.1
SUSE Linux Enterprise Server 12 SP5 (src): binutils-2.41-9.53.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): binutils-2.41-9.53.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Maintenance Automation 2023-09-27 20:31:12 UTC
SUSE-SU-2023:3825-1: An update that solves 20 vulnerabilities, contains one feature and has two security fixes can now be installed.

Category: security (important)
Bug References: 1200962, 1206080, 1206556, 1208037, 1208038, 1208040, 1208409, 1209642, 1210297, 1210733, 1213458, 1214565, 1214567, 1214579, 1214580, 1214604, 1214611, 1214619, 1214620, 1214623, 1214624, 1214625
CVE References: CVE-2020-19726, CVE-2021-32256, CVE-2022-35205, CVE-2022-35206, CVE-2022-4285, CVE-2022-44840, CVE-2022-45703, CVE-2022-47673, CVE-2022-47695, CVE-2022-47696, CVE-2022-48063, CVE-2022-48064, CVE-2022-48065, CVE-2023-0687, CVE-2023-1579, CVE-2023-1972, CVE-2023-2222, CVE-2023-25585, CVE-2023-25587, CVE-2023-25588
Jira References: PED-5778
Sources used:
openSUSE Leap 15.5 (src): cross-s390x-binutils-2.41-150100.7.46.1, cross-ia64-binutils-2.41-150100.7.46.1, cross-m68k-binutils-2.41-150100.7.46.1, cross-avr-binutils-2.41-150100.7.46.1, cross-hppa-binutils-2.41-150100.7.46.1, cross-sparc64-binutils-2.41-150100.7.46.1, cross-i386-binutils-2.41-150100.7.46.1, cross-xtensa-binutils-2.41-150100.7.46.1, cross-ppc-binutils-2.41-150100.7.46.1, cross-ppc64le-binutils-2.41-150100.7.46.1, cross-epiphany-binutils-2.41-150100.7.46.1, cross-riscv64-binutils-2.41-150100.7.46.1, cross-aarch64-binutils-2.41-150100.7.46.1, cross-hppa64-binutils-2.41-150100.7.46.1, cross-rx-binutils-2.41-150100.7.46.1, cross-ppc64-binutils-2.41-150100.7.46.1, cross-x86_64-binutils-2.41-150100.7.46.1, cross-spu-binutils-2.41-150100.7.46.1, cross-arm-binutils-2.41-150100.7.46.1, binutils-2.41-150100.7.46.1, cross-s390-binutils-2.41-150100.7.46.1, cross-sparc-binutils-2.41-150100.7.46.1, cross-mips-binutils-2.41-150100.7.46.1
Basesystem Module 15-SP4 (src): binutils-2.41-150100.7.46.1
Basesystem Module 15-SP5 (src): binutils-2.41-150100.7.46.1
Development Tools Module 15-SP4 (src): binutils-2.41-150100.7.46.1
Development Tools Module 15-SP5 (src): binutils-2.41-150100.7.46.1
SUSE Package Hub 15 15-SP4 (src): binutils-2.41-150100.7.46.1
SUSE Package Hub 15 15-SP5 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): binutils-2.41-150100.7.46.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): binutils-2.41-150100.7.46.1
SUSE Manager Proxy 4.2 (src): binutils-2.41-150100.7.46.1
SUSE Manager Retail Branch Server 4.2 (src): binutils-2.41-150100.7.46.1
SUSE Manager Server 4.2 (src): binutils-2.41-150100.7.46.1
SUSE Enterprise Storage 7.1 (src): binutils-2.41-150100.7.46.1
SUSE CaaS Platform 4.0 (src): binutils-2.41-150100.7.46.1
openSUSE Leap 15.4 (src): binutils-2.41-150100.7.46.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Robert Frohl 2024-02-15 10:13:02 UTC
done