CVE-2013-2850: Buffer Overflow

Published May 28, 2013
·
Updated

A flaw was found in the way Linux kernel's iSCSI target processed large keys. If a key was larger than 64 bytes, as checked by iscsicheckkey(), the error response packet, generated by iscsiaddnotunderstoodresponse(), would still attempt to copy the entire key into the packet, overflowing the structure on the heap.

A remote attacker could use this flaw to escalate their privileges on the system.

Acknowledgements:

Red Hat would like to thank Kees Cook for reporting this issue.

Other sources

Heap-based buffer overflow in the iscsiaddnotunderstoodresponse function in drivers/target/iscsi/iscsitargetparameters.c in the iSCSI target subsystem in the Linux kernel through 3.9.4 allows remote attackers to cause a denial of service (memory corruption and OOPS) or possibly execute arbitrary code via a long key that is not properly handled during construction of an error-response packet.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=3.1<3.2.47
Linux Linux kernel>=3.3<3.4.48
Linux Linux kernel>=3.5<3.9.5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1

Event History

May 28, 2013
Data Sourced
via Red Hat·08:19 PM
DescriptionSeverityAffected Software
Jun 7, 2013
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:01 PM
Description
Sep 20, 2024
Data Sourced
via Ubuntu·12:58 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-2850?

CVE-2013-2850 has a medium severity due to the potential for a denial of service caused by a buffer overflow.

2

How do I fix CVE-2013-2850?

To fix CVE-2013-2850, upgrade to a version of the Linux kernel that is 5.10.223-1 or later, or 6.1.123-1 or later.

3

What systems are affected by CVE-2013-2850?

CVE-2013-2850 affects specific versions of the Linux kernel ranging from 3.1 to 3.9.5.

4

What types of attacks can exploit CVE-2013-2850?

CVE-2013-2850 can be exploited by sending specially crafted iSCSI requests with oversized keys.

5

Is CVE-2013-2850 still a concern in modern systems?

CVE-2013-2850 is less of a concern in modern systems that have applied the necessary kernel updates.

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