CVE-2007-2789: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-r5wh-4xhf-r4xr
Published
Advisory Summary

CVE-2007-2789 is a MODERATE security vulnerability vulnerability (General Security Weakness) affecting Software libraries in the Maven ecosystem. Remediation is available in the latest vendor maintenance releases.

CVE-2007-2789 at a Glance

CVE Identifier CVE-2007-2789
GHSA Identifier GHSA-r5wh-4xhf-r4xr
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2007-2789

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-2007-2789, 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 General Security Weakness. 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

The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, SDK and JRE 1.4.2_14 and earlier, and SDK and JRE 1.3.1_19 and earlier, when running on Unix/Linux systems, allows remote attackers to cause a denial of service (JVM hang) via untrusted applets or applications that open arbitrary local files via a crafted BMP file, such as /dev/tty.

References

secunia.com/advisories/26311 WEB
http://secunia.com/advisories/26311
secunia.com/advisories/26369 WEB
http://secunia.com/advisories/26369
secunia.com/advisories/26631 WEB
http://secunia.com/advisories/26631
secunia.com/advisories/26645 WEB
http://secunia.com/advisories/26645
secunia.com/advisories/26933 WEB
http://secunia.com/advisories/26933
secunia.com/advisories/27203 WEB
http://secunia.com/advisories/27203
secunia.com/advisories/27266 WEB
http://secunia.com/advisories/27266
secunia.com/advisories/28056 WEB
http://secunia.com/advisories/28056
secunia.com/advisories/28115 WEB
http://secunia.com/advisories/28115
secunia.com/advisories/29340 WEB
http://secunia.com/advisories/29340
secunia.com/advisories/29858 WEB
http://secunia.com/advisories/29858
secunia.com/advisories/30780 WEB
http://secunia.com/advisories/30780
secunia.com/advisories/30805 WEB
http://secunia.com/advisories/30805
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200706-08.xml
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200804-28.xml
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102934-1
sunsolve.sun.com/search/document.do WEB
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200856-1
support.novell.com/techcenter/psdb/4f8... WEB
http://support.novell.com/techcenter/psdb/4f850d1e2b871db609de64ec70f0089c.html
support.novell.com/techcenter/psdb/d2f... WEB
http://support.novell.com/techcenter/psdb/d2f549cc040cd81ae4a268bb5edfe918.html
www.attrition.org/pipermail/vim/2007-... WEB
http://www.attrition.org/pipermail/vim/2007-December/001862.html
www.attrition.org/pipermail/vim/2007-... WEB
http://www.attrition.org/pipermail/vim/2007-July/001696.html
www.attrition.org/pipermail/vim/2007-... WEB
http://www.attrition.org/pipermail/vim/2007-July/001697.html
www.attrition.org/pipermail/vim/2007-... WEB
http://www.attrition.org/pipermail/vim/2007-July/001708.html
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200705-23.xml
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200709-15.xml
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200804-20.xml
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200806-11.xml
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2007_45_java.html
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2007_56_ibmjava.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0817.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0829.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-0956.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2007-1086.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0100.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0133.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2008-0261.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/24004
Software Security Information SECURITY
http://www.securitytracker.com/id?1018182
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/1836
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/3009
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/4224
NVD — CVE-2007-2789 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-2789
exchange.xforce.ibmcloud.com/vulnerabilities/343... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/34320
exchange.xforce.ibmcloud.com/vulnerabilities/346... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/34654
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10800
dev2dev.bea.com/pub/advisory/248 WEB
http://dev2dev.bea.com/pub/advisory/248
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=307177
Software Security Information SECURITY
http://lists.apple.com/archives/Security-announce/2007/Dec/msg00001.html
Software Security Information SECURITY
http://scary.beasts.org/security/CESA-2006-004.html
secunia.com/advisories/25295 WEB
http://secunia.com/advisories/25295
secunia.com/advisories/25474 WEB
http://secunia.com/advisories/25474
secunia.com/advisories/25832 WEB
http://secunia.com/advisories/25832
secunia.com/advisories/26049 WEB
http://secunia.com/advisories/26049
secunia.com/advisories/26119 WEB
http://secunia.com/advisories/26119

Frequently Asked Questions

What is CVE-2007-2789?
CVE-2007-2789 is a security vulnerability in Software classified as a security vulnerability vulnerability under General Security Weakness.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2007-2789?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-2789?
CVE-2007-2789 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2007-2789?
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-r5wh-4xhf-r4xr",
  "modified" : "2022-05-01T18:07:15Z",
  "published" : "2022-05-01T18:07:15Z",
  "aliases" : [ "CVE-2007-2789" ],
  "details" : "The BMP image parser in Sun Java Development Kit (JDK) before 1.5.0_11-b03 and 1.6.x before 1.6.0_01-b06, and Sun Java Runtime Environment in JDK and JRE 6, JDK and JRE 5.0 Update 10 and earlier, SDK and JRE 1.4.2_14 and earlier, and SDK and JRE 1.3.1_19 and earlier, when running on Unix/Linux systems, allows remote attackers to cause a denial of service (JVM hang) via untrusted applets or applications that open arbitrary local files via a crafted BMP file, such as /dev/tty.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-2789"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/34320"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/34654"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10800"
  }, {
    "type" : "WEB",
    "url" : "http://dev2dev.bea.com/pub/advisory/248"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=307177"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/Security-announce/2007/Dec/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://scary.beasts.org/security/CESA-2006-004.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25295"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25474"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/25832"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26049"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26119"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26311"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26369"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26631"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26645"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/26933"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27203"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27266"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28056"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28115"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29340"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29858"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30780"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30805"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200706-08.xml"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200804-28.xml"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-26-102934-1"
  }, {
    "type" : "WEB",
    "url" : "http://sunsolve.sun.com/search/document.do?assetkey=1-66-200856-1"
  }, {
    "type" : "WEB",
    "url" : "http://support.novell.com/techcenter/psdb/4f850d1e2b871db609de64ec70f0089c.html"
  }, {
    "type" : "WEB",
    "url" : "http://support.novell.com/techcenter/psdb/d2f549cc040cd81ae4a268bb5edfe918.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.attrition.org/pipermail/vim/2007-December/001862.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.attrition.org/pipermail/vim/2007-July/001696.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.attrition.org/pipermail/vim/2007-July/001697.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.attrition.org/pipermail/vim/2007-July/001708.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200705-23.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200709-15.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200804-20.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200806-11.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2007_45_java.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2007_56_ibmjava.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0817.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0829.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-0956.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2007-1086.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0100.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0133.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2008-0261.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/24004"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1018182"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/1836"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/3009"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/4224"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-05-22T00:30:00Z"
  }
}