Bug 1187365 (CVE-2021-3593) - VUL-1: CVE-2021-3593: qemu: slirp,libslirp: invalid pointer initialization may lead to information disclosure (udp6)
Summary: VUL-1: CVE-2021-3593: qemu: slirp,libslirp: invalid pointer initialization ma...
Status: RESOLVED FIXED
Alias: CVE-2021-3593
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/302310/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-3593:3.8:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-15 16:06 UTC by Gianluca Gabrielli
Modified: 2024-07-26 09:52 UTC (History)
3 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 Gianluca Gabrielli 2021-06-15 16:06:14 UTC
An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The function udp6_input() handles requests for the udp protocol from the guest. While processing a udp packet that is smaller than the size of the udphdr structure it uses memory from outside the working mbuf buffer. This issue may lead to out of bound read access or indirect memory disclosure to the guest.

Upstream commits:
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/93e645e7
https://gitlab.freedesktop.org/slirp/libslirp/-/commit/de71c15d

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1970487
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3593
Comment 1 Gianluca Gabrielli 2021-06-15 16:06:25 UTC
Affeced packages:
 - SUSE:SLE-11-SP1:Update/kvm      0.12.5
 - SUSE:SLE-11-SP3:Update/kvm      1.4.2
 - SUSE:SLE-11-SP4:Update/kvm      1.4.2
 - SUSE:SLE-12-SP2:Update/qemu     2.6.2
 - SUSE:SLE-12-SP3:Update/qemu     2.9.1
 - SUSE:SLE-12-SP4:Update/qemu     2.11.2
 - SUSE:SLE-12-SP5:Update/qemu     3.1.1.1
 - SUSE:SLE-15-SP1:Update/qemu     3.1.1.1
 - SUSE:SLE-15-SP2:Update/qemu     4.2.1
 - SUSE:SLE-15-SP3:Update/qemu     5.2.0
 - SUSE:SLE-15:Update/qemu         2.11.2
 - openSUSE:Factory/qemu           6.0.0

Upstream patch [0] (same as bsc#1187364).

[0] https://gitlab.freedesktop.org/slirp/libslirp/-/commit/a5c9699712ed25c4b96d448e0977f7108cb0ebf5.patch
Comment 2 Gianluca Gabrielli 2021-06-15 16:10:46 UTC
Correction, the following packages (kvm) are not affected:
 - SUSE:SLE-11-SP1:Update/kvm      0.12.5
 - SUSE:SLE-11-SP3:Update/kvm      1.4.2
 - SUSE:SLE-11-SP4:Update/kvm      1.4.2
Comment 5 Swamp Workflow Management 2021-07-21 13:28:16 UTC
SUSE-SU-2021:2428-1: An update that fixes 5 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1187364,1187365,1187366,1187367,1187529
CVE References: CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3611
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 12-SP2-BCL (src):    qemu-2.6.2-41.68.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 6 Swamp Workflow Management 2021-07-22 13:17:40 UTC
SUSE-SU-2021:2448-1: An update that solves 8 vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1185591,1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539
CVE References: CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    qemu-3.1.1.1-54.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 Swamp Workflow Management 2021-07-23 13:18:53 UTC
SUSE-SU-2021:2461-1: An update that fixes 5 vulnerabilities is now available.

Category: security (important)
Bug References: 1187364,1187365,1187366,1187367,1187529
CVE References: CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3611
JIRA References: 
Sources used:
SUSE Linux Enterprise Server for SAP 15 (src):    qemu-2.11.2-9.49.1
SUSE Linux Enterprise Server 15-LTSS (src):    qemu-2.11.2-9.49.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    qemu-2.11.2-9.49.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    qemu-2.11.2-9.49.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 9 Swamp Workflow Management 2021-07-27 13:18:02 UTC
SUSE-SU-2021:2474-1: An update that fixes 8 vulnerabilities is now available.

Category: security (important)
Bug References: 1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539
CVE References: CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611
JIRA References: 
Sources used:
SUSE MicroOS 5.0 (src):    qemu-4.2.1-11.25.2
SUSE Linux Enterprise Module for Server Applications 15-SP2 (src):    qemu-4.2.1-11.25.2
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    qemu-4.2.1-11.25.2

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 10 Swamp Workflow Management 2021-07-27 13:21:13 UTC
openSUSE-SU-2021:2474-1: An update that fixes 8 vulnerabilities is now available.

Category: security (important)
Bug References: 1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539
CVE References: CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    qemu-4.2.1-11.25.2
Comment 11 Swamp Workflow Management 2021-07-28 10:18:43 UTC
SUSE-SU-2021:2546-1: An update that fixes 5 vulnerabilities is now available.

Category: security (important)
Bug References: 1187364,1187365,1187366,1187367,1187529
CVE References: CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3611
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    qemu-2.11.2-5.35.1
SUSE OpenStack Cloud 9 (src):    qemu-2.11.2-5.35.1
SUSE Linux Enterprise Server for SAP 12-SP4 (src):    qemu-2.11.2-5.35.1
SUSE Linux Enterprise Server 12-SP4-LTSS (src):    qemu-2.11.2-5.35.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 12 Swamp Workflow Management 2021-07-29 16:17:28 UTC
SUSE-SU-2021:2563-1: An update that fixes 5 vulnerabilities is now available.

Category: security (important)
Bug References: 1187364,1187365,1187366,1187367,1187529
CVE References: CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3611
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 8 (src):    qemu-2.9.1-6.53.1
SUSE OpenStack Cloud 8 (src):    qemu-2.9.1-6.53.1
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    qemu-2.9.1-6.53.1
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    qemu-2.9.1-6.53.1
SUSE Linux Enterprise Server 12-SP3-BCL (src):    qemu-2.9.1-6.53.1
HPE Helion Openstack 8 (src):    qemu-2.9.1-6.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 13 Swamp Workflow Management 2021-08-02 16:18:18 UTC
openSUSE-SU-2021:2591-1: An update that solves 9 vulnerabilities and has two fixes is now available.

Category: security (important)
Bug References: 1176681,1185591,1186290,1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539
CVE References: CVE-2020-25085,CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    qemu-3.1.1.1-9.30.2
Comment 14 Swamp Workflow Management 2021-08-02 16:20:36 UTC
SUSE-SU-2021:2591-1: An update that solves 9 vulnerabilities and has two fixes is now available.

Category: security (important)
Bug References: 1176681,1185591,1186290,1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539
CVE References: CVE-2020-25085,CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    qemu-3.1.1.1-9.30.2
SUSE Manager Retail Branch Server 4.0 (src):    qemu-3.1.1.1-9.30.2
SUSE Manager Proxy 4.0 (src):    qemu-3.1.1.1-9.30.2
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    qemu-3.1.1.1-9.30.2
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    qemu-3.1.1.1-9.30.2
SUSE Linux Enterprise Server 15-SP1-BCL (src):    qemu-3.1.1.1-9.30.2
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    qemu-3.1.1.1-9.30.2
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    qemu-3.1.1.1-9.30.2
SUSE Enterprise Storage 6 (src):    qemu-3.1.1.1-9.30.2
SUSE CaaS Platform 4.0 (src):    qemu-3.1.1.1-9.30.2

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 15 Gianluca Gabrielli 2021-08-12 16:22:25 UTC
Hi Ralf,

can you please patch SUSE:SLE-15-SP3:Update/libslirp which is also affected? While openSUSE:Factory/libslirp is already patched.

Thanks
Comment 16 Swamp Workflow Management 2021-08-26 19:17:19 UTC
# maintenance_jira_update_notice
openSUSE-SU-2021:1202-1: An update that fixes 15 vulnerabilities is now available.

Category: security (important)
Bug References: 1180432,1180433,1180434,1180435,1182651,1186012,1187364,1187365,1187366,1187367,1187499,1187529,1187538,1187539,1189145
CVE References: CVE-2020-35503,CVE-2020-35504,CVE-2020-35505,CVE-2020-35506,CVE-2021-20255,CVE-2021-3527,CVE-2021-3582,CVE-2021-3592,CVE-2021-3593,CVE-2021-3594,CVE-2021-3595,CVE-2021-3607,CVE-2021-3608,CVE-2021-3611,CVE-2021-3682
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    qemu-4.2.1-lp152.9.20.1, qemu-linux-user-4.2.1-lp152.9.20.1, qemu-testsuite-4.2.1-lp152.9.20.1
Comment 17 Gianluca Gabrielli 2022-03-02 11:21:26 UTC
SUSE:SLE-15-SP3:Update/qemu submission not needed since it is using system libslirp [0].

[0] bsc#1187367#c23
Comment 18 Gianluca Gabrielli 2022-08-05 09:13:14 UTC
Hi coldpool, can you please submit the patch to SUSE:SLE-15-SP3:Update/libslirp?
Comment 19 Petr Gajdos 2022-08-23 09:42:18 UTC
15sp3/libslirp submitted.
Comment 21 Swamp Workflow Management 2022-08-30 13:15:53 UTC
SUSE-SU-2022:2941-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1187365,1201551
CVE References: CVE-2021-3593
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    libslirp-4.3.1-150300.11.1
openSUSE Leap 15.3 (src):    libslirp-4.3.1-150300.11.1
SUSE Linux Enterprise Module for Server Applications 15-SP4 (src):    libslirp-4.3.1-150300.11.1
SUSE Linux Enterprise Module for Server Applications 15-SP3 (src):    libslirp-4.3.1-150300.11.1
SUSE Linux Enterprise Micro 5.2 (src):    libslirp-4.3.1-150300.11.1
SUSE Linux Enterprise Micro 5.1 (src):    libslirp-4.3.1-150300.11.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 22 Swamp Workflow Management 2022-09-01 13:56:40 UTC
openSUSE-SU-2022:2941-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 1187365,1201551
CVE References: CVE-2021-3593
JIRA References: 
Sources used:
openSUSE Leap Micro 5.2 (src):    libslirp-4.3.1-150300.11.1
Comment 24 Andrea Mattiazzo 2024-07-26 09:52:31 UTC
All done, closing.