CVE-2009-0397: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-68wh-jxh5-cwrj
CWE-119
Published
Advisory Summary

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

CVE Identifier CVE-2009-0397
GHSA Identifier GHSA-68wh-jxh5-cwrj
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-0397

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-0397, 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 the qtdemux_parse_samples function in gst/qtdemux/qtdemux.c in GStreamer Good Plug-ins (aka gst-plugins-good) 0.10.9 through 0.10.11, and GStreamer Plug-ins (aka gstreamer-plugins) 0.8.5, might allow remote attackers to execute arbitrary code via crafted Time-to-sample (aka stts) atom data in a malformed QuickTime media .mov file.

References

NVD — CVE-2009-0397 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-0397
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=481267
exchange.xforce.ibmcloud.com/vulnerabilities/485... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/48555
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9942
cgit.freedesktop.org/gstreamer/gst-plugi... WEB
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=bdc20b9baf13564d9a061343416395f8f9a92b53
gstreamer.freedesktop.org/releases/gst-plugin... WEB
http://gstreamer.freedesktop.org/releases/gst-plugins-good/0.10.12.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html
secunia.com/advisories/33650 WEB
http://secunia.com/advisories/33650
secunia.com/advisories/33815 WEB
http://secunia.com/advisories/33815
secunia.com/advisories/33830 WEB
http://secunia.com/advisories/33830
secunia.com/advisories/34336 WEB
http://secunia.com/advisories/34336
secunia.com/advisories/35777 WEB
http://secunia.com/advisories/35777
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200907-11.xml
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2009-052.htm
trapkit.de/advisories/tkadv200... WEB
http://trapkit.de/advisories/TKADV2009-003.txt
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2009:035
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/01/29/3
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0270.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-0271.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/500317/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/33405
www.ubuntu.com/usn/usn-736-1 WEB
http://www.ubuntu.com/usn/USN-736-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/0225

Frequently Asked Questions

What is CVE-2009-0397?
CVE-2009-0397 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-0397?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-0397?
CVE-2009-0397 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-0397?
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-68wh-jxh5-cwrj",
  "modified" : "2022-05-02T03:15:05Z",
  "published" : "2022-05-02T03:15:05Z",
  "aliases" : [ "CVE-2009-0397" ],
  "details" : "Heap-based buffer overflow in the qtdemux_parse_samples function in gst/qtdemux/qtdemux.c in GStreamer Good Plug-ins (aka gst-plugins-good) 0.10.9 through 0.10.11, and GStreamer Plug-ins (aka gstreamer-plugins) 0.8.5, might allow remote attackers to execute arbitrary code via crafted Time-to-sample (aka stts) atom data in a malformed QuickTime media .mov file.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-0397"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=481267"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/48555"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9942"
  }, {
    "type" : "WEB",
    "url" : "http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=bdc20b9baf13564d9a061343416395f8f9a92b53"
  }, {
    "type" : "WEB",
    "url" : "http://gstreamer.freedesktop.org/releases/gst-plugins-good/0.10.12.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-03/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33650"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33815"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33830"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34336"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35777"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200907-11.xml"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2009-052.htm"
  }, {
    "type" : "WEB",
    "url" : "http://trapkit.de/advisories/TKADV2009-003.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2009:035"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/01/29/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0270.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-0271.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/500317/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/33405"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-736-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/0225"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-02-03T11:30:00Z"
  }
}