CVE-2008-0304: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-3j5j-x7ph-c2r8
CWE-119
Published
Advisory Summary

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

CVE Identifier CVE-2008-0304
GHSA Identifier GHSA-3j5j-x7ph-c2r8
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-0304

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

Heap-based buffer overflow in Mozilla Thunderbird before 2.0.0.12 and SeaMonkey before 1.1.8 might allow remote attackers to execute arbitrary code via a crafted external-body MIME type in an e-mail message, related to an incorrect memory allocation during message preview.

References

NVD — CVE-2008-0304 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-0304
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11075
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00905.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00946.html
labs.idefense.com/intelligence/vulner... WEB
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=668
secunia.com/advisories/29098 WEB
http://secunia.com/advisories/29098
secunia.com/advisories/29133 WEB
http://secunia.com/advisories/29133
secunia.com/advisories/29167 WEB
http://secunia.com/advisories/29167
secunia.com/advisories/29211 WEB
http://secunia.com/advisories/29211
secunia.com/advisories/30327 WEB
http://secunia.com/advisories/30327
secunia.com/advisories/31043 WEB
http://secunia.com/advisories/31043
secunia.com/advisories/31253 WEB
http://secunia.com/advisories/31253
secunia.com/advisories/33433 WEB
http://secunia.com/advisories/33433
Software Security Information SECURITY
http://securitytracker.com/id?1019504
Software Security Information SECURITY
http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.445399
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-239546-1
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1621
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1697
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200805-18.xml
www.kb.cert.org/vuls/id/661651 WEB
http://www.kb.cert.org/vuls/id/661651
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:062
Software Security Information SECURITY
http://www.mozilla.org/security/announce/2008/mfsa2008-12.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/28012
www.ubuntu.com/usn/usn-582-1 WEB
http://www.ubuntu.com/usn/usn-582-1
www.ubuntu.com/usn/usn-582-2 WEB
http://www.ubuntu.com/usn/usn-582-2
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/2091/references

Frequently Asked Questions

What is CVE-2008-0304?
CVE-2008-0304 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-0304?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-0304?
CVE-2008-0304 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-0304?
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-3j5j-x7ph-c2r8",
  "modified" : "2022-05-01T23:28:58Z",
  "published" : "2022-05-01T23:28:58Z",
  "aliases" : [ "CVE-2008-0304" ],
  "details" : "Heap-based buffer overflow in Mozilla Thunderbird before 2.0.0.12 and SeaMonkey before 1.1.8 might allow remote attackers to execute arbitrary code via a crafted external-body MIME type in an e-mail message, related to an incorrect memory allocation during message preview.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-0304"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11075"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00905.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00946.html"
  }, {
    "type" : "WEB",
    "url" : "http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=668"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29098"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29133"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29167"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29211"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30327"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31043"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/31253"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33433"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1019504"
  }, {
    "type" : "WEB",
    "url" : "http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.445399"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-239546-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1621"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1697"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200805-18.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.kb.cert.org/vuls/id/661651"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:062"
  }, {
    "type" : "WEB",
    "url" : "http://www.mozilla.org/security/announce/2008/mfsa2008-12.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/28012"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-582-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-582-2"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/2091/references"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-02-29T19:44:00Z"
  }
}