CVE-2008-0017: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-4386-5g32-qp3p
CWE-119
Published
Advisory Summary

CVE-2008-0017 is a HIGH 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-2008-0017 at a Glance

CVE Identifier CVE-2008-0017
GHSA Identifier GHSA-4386-5g32-qp3p
Severity HIGH
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-2008-0017

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-2008-0017, 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

The http-index-format MIME type parser (nsDirIndexParser) in Firefox 3.x before 3.0.4, Firefox 2.x before 2.0.0.18, and SeaMonkey 1.x before 1.1.13 does not check for an allocation failure, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an HTTP index response with a crafted 200 header, which triggers memory corruption and a buffer overflow.

References

NVD — CVE-2008-0017 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-0017
bugzilla.mozilla.org/show_bug.cgi WEB
https://bugzilla.mozilla.org/show_bug.cgi?id=443299
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11005
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00366.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00385.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00004.html
secunia.com/advisories/32684 WEB
http://secunia.com/advisories/32684
secunia.com/advisories/32693 WEB
http://secunia.com/advisories/32693
secunia.com/advisories/32694 WEB
http://secunia.com/advisories/32694
secunia.com/advisories/32695 WEB
http://secunia.com/advisories/32695
secunia.com/advisories/32713 WEB
http://secunia.com/advisories/32713
secunia.com/advisories/32714 WEB
http://secunia.com/advisories/32714
secunia.com/advisories/32721 WEB
http://secunia.com/advisories/32721
secunia.com/advisories/32778 WEB
http://secunia.com/advisories/32778
secunia.com/advisories/32845 WEB
http://secunia.com/advisories/32845
secunia.com/advisories/32853 WEB
http://secunia.com/advisories/32853
secunia.com/advisories/33433 WEB
http://secunia.com/advisories/33433
secunia.com/advisories/34501 WEB
http://secunia.com/advisories/34501
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-256408-1
ubuntu.com/usn/usn-667-1 WEB
http://ubuntu.com/usn/usn-667-1
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1669
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1671
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1697
www.iss.net/threats/311.html WEB
http://www.iss.net/threats/311.html
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:228
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:230
Software Security Information SECURITY
http://www.mozilla.org/security/announce/2008/mfsa2008-54.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0977.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0978.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/32281
Software Security Information SECURITY
http://www.securitytracker.com/id?1021185
www.us-cert.gov/cas/techalerts/ta08... WEB
http://www.us-cert.gov/cas/techalerts/TA08-319A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/3146
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/0977

Frequently Asked Questions

What is CVE-2008-0017?
CVE-2008-0017 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-2008-0017?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-0017?
CVE-2008-0017 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-2008-0017?
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-4386-5g32-qp3p",
  "modified" : "2022-05-01T23:27:17Z",
  "published" : "2022-05-01T23:27:17Z",
  "aliases" : [ "CVE-2008-0017" ],
  "details" : "The http-index-format MIME type parser (nsDirIndexParser) in Firefox 3.x before 3.0.4, Firefox 2.x before 2.0.0.18, and SeaMonkey 1.x before 1.1.13 does not check for an allocation failure, which allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via an HTTP index response with a crafted 200 header, which triggers memory corruption and a buffer overflow.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-0017"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.mozilla.org/show_bug.cgi?id=443299"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11005"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00366.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00385.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32684"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32693"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32694"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32695"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32713"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32714"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32721"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32778"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32845"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32853"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33433"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34501"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-256408-1"
  }, {
    "type" : "WEB",
    "url" : "http://ubuntu.com/usn/usn-667-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1669"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1671"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1697"
  }, {
    "type" : "WEB",
    "url" : "http://www.iss.net/threats/311.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:228"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:230"
  }, {
    "type" : "WEB",
    "url" : "http://www.mozilla.org/security/announce/2008/mfsa2008-54.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0977.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0978.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/32281"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1021185"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA08-319A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/3146"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/0977"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-11-13T11:30:00Z"
  }
}