CVE-2021-38575: Buffer Overflow

Published May 3, 2021
·
Updated

Function IscsiMisc.c:IScsiHexToBin() in NetworkPkg/IScsiDxe does not correctly check the sizes of the input and output buffers, allowing an attacker who can control the input buffer to cause a buffer overflow in the destination buffer. Function IScsiHexToBin is used to decode strings passed as part of iSCSI Challenge-Handshake Authentication Protocol(CHAP), before authentication takes place. Thus an attacker, who can either inject himself in the communication between edk2 and the iSCSI target or control the iSCSI target used by edk2, can trigger this flaw and potentially execute code in the edk2 firmware.

Upstream bug: https://bugzilla.tianocore.org/showbug.cgi?id=3356

Other sources

NetworkPkg/IScsiDxe has remotely exploitable buffer overflows.

MITRE

Affected Software

8 affected componentsFixes available
Tianocore edk2<=202105
Insyde kernel=5.0
Insyde kernel=5.1
Insyde kernel=5.2
Insyde kernel=5.3
Insyde kernel=5.4
Insyde kernel=5.5
debian/edk2<=2020.11-2+deb11u2
2022.11-6+deb12u22022.11-6+deb12u12025.02-62025.02-8

Event History

May 3, 2021
Data Sourced
via Red Hat·11:51 AM
DescriptionSeverityAffected Software
Dec 1, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Sep 18, 2024
Data Sourced
via Launchpad·03:21 AM
Description
Oct 12, 2024
Data Sourced
via Ubuntu·03:22 AM
RemedyDescriptionSeverityAffected Software
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 the vulnerability ID for this vulnerability?

The vulnerability ID for this vulnerability is CVE-2021-38575.

2

What is the severity rating of CVE-2021-38575?

CVE-2021-38575 has a severity rating of 8.1 (high).

3

What software is affected by CVE-2021-38575?

The affected software includes Tianocore EDK2 versions up to and including May 2021, and Insyde Kernel versions 5.0, 5.1, 5.2, 5.3, 5.4, and 5.5.

4

Are there any fixes or patches available for CVE-2021-38575?

Yes, there are fixes and patches available. Please refer to the references for more information.

5

What are the common weaknesses associated with CVE-2021-38575?

The common weaknesses associated with CVE-2021-38575 are CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer), CWE-124 (Buffer Underwrite), CWE-252 (Unchecked Return Value), and CWE-680 (Integer Overflow to Buffer Overflow).

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