CVE-2010-4008: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-472j-j78w-732c
CWE-119
Published
Advisory Summary

CVE-2010-4008 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-4008 at a Glance

CVE Identifier CVE-2010-4008
GHSA Identifier GHSA-472j-j78w-732c
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-4008

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-4008, 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

libxml2 before 2.7.8, as used in Google Chrome before 7.0.517.44, Apple Safari 5.0.2 and earlier, and other products, reads from invalid memory locations during processing of malformed XPath expressions, which allows context-dependent attackers to cause a denial of service (application crash) via a crafted XML document.

References

NVD — CVE-2010-4008 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-4008
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12148
blog.bkis.com/en/libxml2-vulnerab... WEB
http://blog.bkis.com/en/libxml2-vulnerability-in-google-chrome-and-apple-safari
code.google.com/p/chromium/issues/d... WEB
http://code.google.com/p/chromium/issues/detail?id=58731
googlechromereleases.blogspot.com/2010/11/stable-chan... WEB
http://googlechromereleases.blogspot.com/2010/11/stable-channel-update.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Nov/msg00003.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2011//Mar/msg00004.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2011/Mar/msg00000.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html
mail.gnome.org/archives/xml/2010-n... WEB
http://mail.gnome.org/archives/xml/2010-November/msg00015.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=130331363227777&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=139447903326211&w=2
rhn.redhat.com/errata/rhsa-2013-02... WEB
http://rhn.redhat.com/errata/RHSA-2013-0217.html
secunia.com/advisories/40775 WEB
http://secunia.com/advisories/40775
secunia.com/advisories/42109 WEB
http://secunia.com/advisories/42109
secunia.com/advisories/42175 WEB
http://secunia.com/advisories/42175
secunia.com/advisories/42314 WEB
http://secunia.com/advisories/42314
secunia.com/advisories/42429 WEB
http://secunia.com/advisories/42429
support.apple.com/kb/ht4456 WEB
http://support.apple.com/kb/HT4456
support.apple.com/kb/ht4554 WEB
http://support.apple.com/kb/HT4554
support.apple.com/kb/ht4566 WEB
http://support.apple.com/kb/HT4566
support.apple.com/kb/ht4581 WEB
http://support.apple.com/kb/HT4581
Software Security Information SECURITY
http://www.debian.org/security/2010/dsa-2128
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2010:243
Software Security Information SECURITY
http://www.openoffice.org/security/cves/CVE-2010-4008_CVE-2010-4494.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2011-1749.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/44779
www.ubuntu.com/usn/usn-1016-1 WEB
http://www.ubuntu.com/usn/USN-1016-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3046
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3076
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3100
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0230

Frequently Asked Questions

What is CVE-2010-4008?
CVE-2010-4008 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-4008?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-4008?
CVE-2010-4008 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-4008?
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-472j-j78w-732c",
  "modified" : "2025-04-11T03:41:12Z",
  "published" : "2022-05-13T01:25:52Z",
  "aliases" : [ "CVE-2010-4008" ],
  "details" : "libxml2 before 2.7.8, as used in Google Chrome before 7.0.517.44, Apple Safari 5.0.2 and earlier, and other products, reads from invalid memory locations during processing of malformed XPath expressions, which allows context-dependent attackers to cause a denial of service (application crash) via a crafted XML document.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-4008"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12148"
  }, {
    "type" : "WEB",
    "url" : "http://blog.bkis.com/en/libxml2-vulnerability-in-google-chrome-and-apple-safari"
  }, {
    "type" : "WEB",
    "url" : "http://code.google.com/p/chromium/issues/detail?id=58731"
  }, {
    "type" : "WEB",
    "url" : "http://googlechromereleases.blogspot.com/2010/11/stable-channel-update.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Nov/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2011//Mar/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2011/Mar/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://mail.gnome.org/archives/xml/2010-November/msg00015.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=130331363227777&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=139447903326211&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2013-0217.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40775"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42109"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42175"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42314"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42429"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4456"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4554"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4566"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4581"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2010/dsa-2128"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2010:243"
  }, {
    "type" : "WEB",
    "url" : "http://www.openoffice.org/security/cves/CVE-2010-4008_CVE-2010-4494.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2011-1749.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/44779"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1016-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3046"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3076"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3100"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0230"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-11-17T01:00:00Z"
  }
}