CVE-2008-5050: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-594g-rvq4-vvxr
CWE-119
Published
Advisory Summary

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

CVE Identifier CVE-2008-5050
GHSA Identifier GHSA-594g-rvq4-vvxr
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-5050

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

Off-by-one error in the get_unicode_name function (libclamav/vba_extract.c) in Clam Anti-Virus (ClamAV) before 0.94.1 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted VBA project file, which triggers a heap-based buffer overflow.

References

secunia.com/advisories/32765 WEB
http://secunia.com/advisories/32765
secunia.com/advisories/32872 WEB
http://secunia.com/advisories/32872
secunia.com/advisories/33016 WEB
http://secunia.com/advisories/33016
secunia.com/advisories/33317 WEB
http://secunia.com/advisories/33317
secunia.com/advisories/33937 WEB
http://secunia.com/advisories/33937
NVD — CVE-2008-5050 NVD
https://nvd.nist.gov/vuln/detail/CVE-2008-5050
exchange.xforce.ibmcloud.com/vulnerabilities/464... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/46462
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00332.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00348.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html
lists.grok.org.uk/pipermail/full-disc... WEB
http://lists.grok.org.uk/pipermail/full-disclosure/2008-November/065530.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00002.html
secunia.com/advisories/32663 WEB
http://secunia.com/advisories/32663
secunia.com/advisories/32699 WEB
http://secunia.com/advisories/32699
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200812-21.xml
Software Security Information SECURITY
http://securityreason.com/securityalert/4579
sourceforge.net/project/shownotes.p... WEB
http://sourceforge.net/project/shownotes.php?release_id=637952&group_id=86638
support.apple.com/kb/ht3438 WEB
http://support.apple.com/kb/HT3438
Software Security Information SECURITY
http://www.debian.org/security/2008/dsa-1680
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2008:229
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/498169/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/32207
Software Security Information SECURITY
http://www.securitytracker.com/id?1021159
www.ubuntu.com/usn/usn-672-1 WEB
http://www.ubuntu.com/usn/usn-672-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/3085
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/0422

Frequently Asked Questions

What is CVE-2008-5050?
CVE-2008-5050 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-5050?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2008-5050?
CVE-2008-5050 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-5050?
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-594g-rvq4-vvxr",
  "modified" : "2022-05-14T02:41:01Z",
  "published" : "2022-05-14T02:41:01Z",
  "aliases" : [ "CVE-2008-5050" ],
  "details" : "Off-by-one error in the get_unicode_name function (libclamav/vba_extract.c) in Clam Anti-Virus (ClamAV) before 0.94.1 allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted VBA project file, which triggers a heap-based buffer overflow.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-5050"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/46462"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00332.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00348.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Feb/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.grok.org.uk/pipermail/full-disclosure/2008-November/065530.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32663"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32699"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32765"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/32872"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33016"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33317"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33937"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200812-21.xml"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/4579"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/project/shownotes.php?release_id=637952&group_id=86638"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3438"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2008/dsa-1680"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2008:229"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/498169/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/32207"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1021159"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/usn-672-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/3085"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/0422"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2008-11-13T02:30:00Z"
  }
}