Bug 968036 (CVE-2013-2850) - CVE-2013-2850 kernel: iscsi-target: heap buffer overflow on large key error
Summary: CVE-2013-2850 kernel: iscsi-target: heap buffer overflow on large key error
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-2850
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 968038 968039 969272
Blocks: 968040
TreeView+ depends on / blocked
 
Reported: 2013-05-28 20:19 UTC by Petr Matousek
Modified: 2023-05-11 22:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-20 10:38:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1264 0 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2013-09-16 21:01:17 UTC

Description Petr Matousek 2013-05-28 20:19:05 UTC
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 iscsi_check_key(), the error response packet, generated by iscsi_add_notunderstood_response(), 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.

Comment 1 Petr Matousek 2013-05-28 20:19:58 UTC
Statement:

This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6 as those versions do not provide support for in-kernel iSCSI target.

Future kernel updates in Red Hat Enterprise Linux MRG 2 may address this flaw.

Comment 5 Petr Matousek 2013-05-31 06:17:31 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 969272]

Comment 7 Fedora Update System 2013-06-07 04:33:12 UTC
kernel-3.9.4-301.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-06-13 06:04:33 UTC
kernel-3.9.5-201.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-07-01 01:33:53 UTC
kernel-3.9.8-100.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 errata-xmlrpc 2013-09-16 17:05:01 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:1264 https://rhn.redhat.com/errata/RHSA-2013-1264.html


Note You need to log in before you can comment on or make changes to this bug.