CVE-2009-0148: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-vfq3-6prq-j8hp
CWE-119
Published
Advisory Summary

CVE-2009-0148 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-2009-0148 at a Glance

CVE Identifier CVE-2009-0148
GHSA Identifier GHSA-vfq3-6prq-j8hp
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-2009-0148

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-2009-0148, 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

Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute arbitrary code via long strings in input such as (1) source-code tokens and (2) pathnames, related to integer overflows in some cases. NOTE: this issue exists because of an incomplete fix for CVE-2004-2541.

References

NVD — CVE-2009-0148 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-0148
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=490667
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9633
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html
secunia.com/advisories/34978 WEB
http://secunia.com/advisories/34978
secunia.com/advisories/35074 WEB
http://secunia.com/advisories/35074
secunia.com/advisories/35213 WEB
http://secunia.com/advisories/35213
secunia.com/advisories/35214 WEB
http://secunia.com/advisories/35214
secunia.com/advisories/35462 WEB
http://secunia.com/advisories/35462
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200905-02.xml
sourceforge.net/forum/forum.php WEB
http://sourceforge.net/forum/forum.php?forum_id=947983
sourceforge.net/mailarchive/forum.p... WEB
http://sourceforge.net/mailarchive/forum.php?thread_name=E1LsGx3-00015K-TN%40ddv4jf1.ch3.sourceforge.com&forum_name=cscope-cvs
sourceforge.net/project/shownotes.p... WEB
http://sourceforge.net/project/shownotes.php?group_id=4664&release_id=679527
support.apple.com/kb/ht3549 WEB
http://support.apple.com/kb/HT3549
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1806
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/05/06/9
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-1101.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-1102.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/34805
Software Security Information SECURITY
http://www.securitytracker.com/id?1022218
www.us-cert.gov/cas/techalerts/ta09... WEB
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/1238
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/1297

Frequently Asked Questions

What is CVE-2009-0148?
CVE-2009-0148 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-2009-0148?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-0148?
CVE-2009-0148 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-2009-0148?
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-vfq3-6prq-j8hp",
  "modified" : "2022-05-02T03:13:07Z",
  "published" : "2022-05-02T03:13:07Z",
  "aliases" : [ "CVE-2009-0148" ],
  "details" : "Multiple buffer overflows in Cscope before 15.7a allow remote attackers to execute arbitrary code via long strings in input such as (1) source-code tokens and (2) pathnames, related to integer overflows in some cases. NOTE: this issue exists because of an incomplete fix for CVE-2004-2541.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-0148"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=490667"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9633"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/May/msg00002.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34978"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35074"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35213"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35214"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35462"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200905-02.xml"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/forum/forum.php?forum_id=947983"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/mailarchive/forum.php?thread_name=E1LsGx3-00015K-TN%40ddv4jf1.ch3.sourceforge.com&forum_name=cscope-cvs"
  }, {
    "type" : "WEB",
    "url" : "http://sourceforge.net/project/shownotes.php?group_id=4664&release_id=679527"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3549"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1806"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/05/06/9"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-1101.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-1102.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/34805"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1022218"
  }, {
    "type" : "WEB",
    "url" : "http://www.us-cert.gov/cas/techalerts/TA09-133A.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/1238"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/1297"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-05-05T17:30:00Z"
  }
}