CVE-2010-2221: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-pf38-p9mr-xh7h
CWE-119
Published
Advisory Summary

CVE-2010-2221 is a MODERATE security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2010-2221 at a Glance

CVE Identifier CVE-2010-2221
GHSA Identifier GHSA-pf38-p9mr-xh7h
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-2221

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2010-2221, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

References

NVD — CVE-2010-2221 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-2221
access.redhat.com/errata/rhsa-2010:05... WEB
https://access.redhat.com/errata/RHSA-2010:0518
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2010-2221
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=593877
archives.neohapsis.com/archives/bugtraq/20... WEB
http://archives.neohapsis.com/archives/bugtraq/2010-07/0022.html
archives.neohapsis.com/archives/fulldisclo... WEB
http://archives.neohapsis.com/archives/fulldisclosure/2010-07/0058.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
lists.wpkg.org/pipermail/stgt/2010... WEB
http://lists.wpkg.org/pipermail/stgt/2010-July/003858.html
scst.svn.sourceforge.net/viewvc/scst/trunk/i... WEB
http://scst.svn.sourceforge.net/viewvc/scst/trunk/iscsi-scst/usr/isns.c?r1=1793&r2=1792&pathrev=1793
scst.svn.sourceforge.net/viewvc/scst WEB
http://scst.svn.sourceforge.net/viewvc/scst?view=revision&revision=1793
secunia.com/advisories/40485 WEB
http://secunia.com/advisories/40485
secunia.com/advisories/40494 WEB
http://secunia.com/advisories/40494
secunia.com/advisories/40495 WEB
http://secunia.com/advisories/40495
sourceforge.net/mailarchive/forum.p... WEB
http://sourceforge.net/mailarchive/forum.php?thread_name=E2BB8074E5500C42984D980D4BD78EF904075006%40MFG-NYC-EXCH2.mfg.prv&forum_name=iscsitarget-devel
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2010:131
www.osvdb.org/65990 WEB
http://www.osvdb.org/65990
www.osvdb.org/65991 WEB
http://www.osvdb.org/65991
www.osvdb.org/65992 WEB
http://www.osvdb.org/65992
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0518.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/41327
Software Security Information SECURITY
http://www.securitytracker.com/id?1024175
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1760
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1786

Frequently Asked Questions

What is CVE-2010-2221?
CVE-2010-2221 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2010-2221?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-2221?
CVE-2010-2221 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2010-2221?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pf38-p9mr-xh7h",
  "modified" : "2022-05-17T05:48:00Z",
  "published" : "2022-05-17T05:48:00Z",
  "aliases" : [ "CVE-2010-2221" ],
  "details" : "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.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-2221"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2010:0518"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2010-2221"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=593877"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/bugtraq/2010-07/0022.html"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/fulldisclosure/2010-07/0058.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.wpkg.org/pipermail/stgt/2010-July/003858.html"
  }, {
    "type" : "WEB",
    "url" : "http://scst.svn.sourceforge.net/viewvc/scst/trunk/iscsi-scst/usr/isns.c?r1=1793&r2=1792&pathrev=1793"
  }, {
    "type" : "WEB",
    "url" : "http://scst.svn.sourceforge.net/viewvc/scst?view=revision&revision=1793"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40485"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40494"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40495"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/mailarchive/forum.php?thread_name=E2BB8074E5500C42984D980D4BD78EF904075006%40MFG-NYC-EXCH2.mfg.prv&forum_name=iscsitarget-devel"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2010:131"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/65990"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/65991"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/65992"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0518.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/41327"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1024175"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1760"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1786"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-07-08T18:30:00Z"
  }
}