CVE-2010-2221: Buffer Overflow
It was reported that a stack buffer overflow vulnerability exists in multiple implementations of iSCSI target, including scsi-target-utils. A missing bounds check when handling SCN messages could result in a buffer overflow when the iSCSI Name string is longer than 1008 bytes, which could lead to corruption of sensitive stack data. During investigation, more buffer overflow vulnerabilities were discovered as well.
Acknowledgements:
Red Hat would like to thank the Vulnerability Research Team at TELUS Security Labs and Fujita Tomonori for responsibly reporting these flaws.
Other sources
Multiple buffer overflows in the iSNS implementation in isns.c in (1) Linux SCSI target framework (aka tgt or scsi-target-utils) before 1.0.6, (2) iSCSI Enterprise Target (aka iscsitarget or IET) 1.4.20.1 and earlier, and (3) Generic SCSI Target Subsystem for Linux (aka SCST or iscsi-scst) 1.0.1.1 and earlier allow remote attackers to cause a denial of service (memory corruption and daemon crash) or possibly execute arbitrary code via (a) a long iSCSI Name string in an SCN message or (b) an invalid PDU.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2010-2221?
CVE-2010-2221 has a high severity due to potential remote code execution through a stack buffer overflow.
How do I fix CVE-2010-2221?
To fix CVE-2010-2221, you should update to the latest version of scsi-target-utils or other affected implementations that have addressed this vulnerability.
Which software is affected by CVE-2010-2221?
CVE-2010-2221 affects multiple implementations of iSCSI target, including scsi-target-utils and certain versions of iscsitarget.
What type of vulnerability is CVE-2010-2221?
CVE-2010-2221 is a stack buffer overflow vulnerability caused by a missing bounds check in handling SCN messages.
Can CVE-2010-2221 be exploited remotely?
Yes, CVE-2010-2221 can be exploited remotely if a malicious actor sends crafted SCN messages to the affected iSCSI target.