CVE-2008-5359: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-cq8v-6hvc-rjqq
CWE-119
Published
Advisory Summary

CVE-2008-5359 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-5359 at a Glance

CVE Identifier CVE-2008-5359
GHSA Identifier GHSA-cq8v-6hvc-rjqq
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-5359

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

Buffer overflow in Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; SDK and JRE 1.4.2_18 and earlier; and SDK and JRE 1.3.1_23 and earlier might allow remote attackers to execute arbitrary code, related to a ConvolveOp operation in the Java AWT library.

References

NVD — CVE-2008-5359 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-5359
exchange.xforce.ibmcloud.com/vulnerabilities/470... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/47048
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5841
rhn.redhat.com/errata/rhsa-2009-04... WEB
https://rhn.redhat.com/errata/RHSA-2009-0466.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00009.html
secunia.com/advisories/32991 WEB
http://secunia.com/advisories/32991
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00004.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-05/msg00000.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=123678756409861&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=126583436323697&w=2
rhn.redhat.com/errata/rhsa-2008-10... WEB
http://rhn.redhat.com/errata/RHSA-2008-1018.html
rhn.redhat.com/errata/rhsa-2008-10... WEB
http://rhn.redhat.com/errata/RHSA-2008-1025.html
secunia.com/advisories/33015 WEB
http://secunia.com/advisories/33015
secunia.com/advisories/33187 WEB
http://secunia.com/advisories/33187
secunia.com/advisories/33528 WEB
http://secunia.com/advisories/33528
secunia.com/advisories/33709 WEB
http://secunia.com/advisories/33709
secunia.com/advisories/34972 WEB
http://secunia.com/advisories/34972
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200911-02.xml
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-244987-1
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2008-485.htm
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2009-012.htm
support.nortel.com/go/main.jsp WEB
http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&DocumentOID=829914&poid=
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0015.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0016.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0445.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/32608
www.us-cert.gov/cas/techalerts/ta08... WEB
http://www.us-cert.gov/cas/techalerts/TA08-340A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/3339
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/0672
www.zerodayinitiative.com/advisories/zdi-08-0... WEB
http://www.zerodayinitiative.com/advisories/ZDI-08-080
www116.nortel.com/pub/repository/clar... WEB
http://www116.nortel.com/pub/repository/CLARIFY/DOCUMENT/2009/03/024431-01.pdf
secunia.com/advisories/33710 WEB
http://secunia.com/advisories/33710
secunia.com/advisories/34233 WEB
http://secunia.com/advisories/34233
secunia.com/advisories/34259 WEB
http://secunia.com/advisories/34259
secunia.com/advisories/34605 WEB
http://secunia.com/advisories/34605
secunia.com/advisories/34889 WEB
http://secunia.com/advisories/34889
secunia.com/advisories/35065 WEB
http://secunia.com/advisories/35065
secunia.com/advisories/37386 WEB
http://secunia.com/advisories/37386
secunia.com/advisories/38539 WEB
http://secunia.com/advisories/38539

Frequently Asked Questions

What is CVE-2008-5359?
CVE-2008-5359 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-5359?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-5359?
CVE-2008-5359 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-5359?
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-cq8v-6hvc-rjqq",
  "modified" : "2025-04-09T04:01:25Z",
  "published" : "2022-05-13T01:39:37Z",
  "aliases" : [ "CVE-2008-5359" ],
  "details" : "Buffer overflow in Java Runtime Environment (JRE) for Sun JDK and JRE 6 Update 10 and earlier; JDK and JRE 5.0 Update 16 and earlier; SDK and JRE 1.4.2_18 and earlier; and SDK and JRE 1.3.1_23 and earlier might allow remote attackers to execute arbitrary code, related to a ConvolveOp operation in the Java AWT library.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-5359"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/47048"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5841"
  }, {
    "type" : "WEB",
    "url" : "https://rhn.redhat.com/errata/RHSA-2009-0466.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-01/msg00009.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-05/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=123678756409861&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=126583436323697&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2008-1018.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2008-1025.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32991"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33015"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33187"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33528"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33709"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33710"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34233"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34259"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34605"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34889"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34972"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35065"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37386"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38539"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200911-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-244987-1"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2008-485.htm"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2009-012.htm"
  }, {
    "type" : "WEB",
    "url" : "http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&DocumentOID=829914&poid="
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0015.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0016.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0445.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/32608"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA08-340A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/3339"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/0672"
  }, {
    "type" : "WEB",
    "url" : "http://www.zerodayinitiative.com/advisories/ZDI-08-080"
  }, {
    "type" : "WEB",
    "url" : "http://www116.nortel.com/pub/repository/CLARIFY/DOCUMENT/2009/03/024431-01.pdf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-12-05T11:30:00Z"
  }
}