CVE-2021-3592: Low severity Libslirp Project Libslirp vulnerability

Published Jun 10, 2021
·
Updated

An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The flaw exists in the bootpinput() function and could occur while processing a udp packet that is smaller than the size of the 'bootpt' structure. A malicious guest could use this flaw to leak 10 bytes of uninitialized heap memory from the host. The highest threat from this vulnerability is to data confidentiality.

Other sources

An invalid pointer initialization issue was found in the SLiRP networking implementation of QEMU. The function bootpinput() in src/bootp.c handles requests for the bootp protocol from the guest. While processing a udp packet that is smaller than the size of the bootpt structure (548 bytes) it uses memory from outside the working mbuf buffer. This may lead to the leakage of 10 bytes of uninitialized heap memory to the guest.

Upstream commits: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/93e645e7 https://gitlab.freedesktop.org/slirp/libslirp/-/commit/f13cad45 https://gitlab.freedesktop.org/slirp/libslirp/-/commit/2eca0838

Red Hat

Affected Software

9 affected componentsFixes available
redhat/libslirp<4.6.0
4.6.0
Libslirp Project Libslirp<4.6.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0
Debian Debian Linux=9.0
Fedoraproject Fedora=33
Fedoraproject Fedora=34
debian/libslirp
4.4.0-1+deb11u24.7.0-14.8.0-1
debian/qemu
1:5.2+dfsg-11+deb11u31:5.2+dfsg-11+deb11u41:7.2+dfsg-7+deb12u121:10.0.0~rc3+ds-21:10.0.0+ds-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/libslirp to a version that resolves this vulnerability.

    Fixed in 4.6.0
  2. Upgrade

    Upgrade debian/libslirp to a version that resolves this vulnerability.

    Fixed in 4.4.0-1+deb11u2Fixed in 4.7.0-1Fixed in 4.8.0-1
  3. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:5.2+dfsg-11+deb11u3Fixed in 1:5.2+dfsg-11+deb11u4Fixed in 1:7.2+dfsg-7+deb12u12Fixed in 1:10.0.0~rc3+ds-2Fixed in 1:10.0.0+ds-1
  4. Upgrade

    Upgrade libslirp to a version that resolves this vulnerability.

    Fixed in 4.6.0
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 2eca0838
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 93e645e7
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch f13cad45

Event History

Jun 14, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 15, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:57 PM
Description
Nov 15, 2024
Data Sourced
via Ubuntu·12:42 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-3592?

CVE-2021-3592 is an invalid pointer initialization issue found in the SLiRP networking implementation of QEMU.

2

How does CVE-2021-3592 occur?

CVE-2021-3592 occurs in the bootp_input() function while processing a udp packet that is smaller than the size of the 'bootp_t' structure.

3

What is the severity of CVE-2021-3592?

CVE-2021-3592 has a severity value of 3.8 (low).

4

Which software is affected by CVE-2021-3592?

The affected software includes libslirp, Redhat Enterprise Linux, Debian Linux, and Fedora.

5

How can I fix CVE-2021-3592?

You can fix CVE-2021-3592 by applying the recommended updates or patches provided by the software vendors.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203