CVE-2009-4484: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-r9xr-rjgc-3q5h
CWE-787
Published
Advisory Summary

CVE-2009-4484 is a HIGH security vulnerability vulnerability (CWE-787: Out-of-bounds Write) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product writes data past the end, or before the beginning, of the intended buffer.. Remediation is available in the latest vendor maintenance releases.

CVE-2009-4484 at a Glance

CVE Identifier CVE-2009-4484
GHSA Identifier GHSA-r9xr-rjgc-3q5h
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-787: Out-of-bounds Write
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2009-4484

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-4484, 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-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. 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 stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysqld in MySQL 5.0.x before 5.0.90, MySQL 5.1.x before 5.1.43, MySQL 5.5.x through 5.5.0-m2, and other products, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption and daemon crash) by establishing an SSL connection and sending an X.509 client certificate with a crafted name field, as demonstrated by mysql_overflow1.py and the vd_mysql5 module in VulnDisco Pack Professional 8.11. NOTE: this was originally reported for MySQL 5.0.51a.

References

NVD — CVE-2009-4484 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-4484
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=555313
exchange.xforce.ibmcloud.com/vulnerabilities/554... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/55416
archives.neohapsis.com/archives/dailydave/... WEB
http://archives.neohapsis.com/archives/dailydave/2010-q1/0002.html
bazaar.launchpad.net/~mysql/mysql-server... WEB
http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.0/revision/2837.1.1
bugs.mysql.com/bug.php WEB
http://bugs.mysql.com/bug.php?id=50227
dev.mysql.com/doc/refman/5.0/en/n... WEB
http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html
dev.mysql.com/doc/refman/5.1/en/n... WEB
http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html
intevydis.blogspot.com/2010/01/mysq-yassl-... WEB
http://intevydis.blogspot.com/2010/01/mysq-yassl-stack-overflow.html
intevydis.com/mysql_demo.html WEB
http://intevydis.com/mysql_demo.html
intevydis.com/mysql_overflow1.py.... WEB
http://intevydis.com/mysql_overflow1.py.txt
intevydis.com/vd-list.shtml WEB
http://intevydis.com/vd-list.shtml
isc.sans.org/diary.html WEB
http://isc.sans.org/diary.html?storyid=7900
lists.immunitysec.com/pipermail/dailydave... WEB
http://lists.immunitysec.com/pipermail/dailydave/2010-January/006020.html
lists.mysql.com/commits/96697 WEB
http://lists.mysql.com/commits/96697
secunia.com/advisories/37493 WEB
http://secunia.com/advisories/37493
secunia.com/advisories/38344 WEB
http://secunia.com/advisories/38344
secunia.com/advisories/38364 WEB
http://secunia.com/advisories/38364
secunia.com/advisories/38517 WEB
http://secunia.com/advisories/38517
secunia.com/advisories/38573 WEB
http://secunia.com/advisories/38573
Software Security Information SECURITY
http://securitytracker.com/id?1023402
www.intevydis.com/blog/ WEB
http://www.intevydis.com/blog/?p=106
www.metasploit.com/modules/exploit/lin... WEB
http://www.metasploit.com/modules/exploit/linux/mysql/mysql_yassl_getname
www.osvdb.org/61956 WEB
http://www.osvdb.org/61956
Software Security Information SECURITY
http://www.securityfocus.com/bid/37640
Software Security Information SECURITY
http://www.securityfocus.com/bid/37943
Software Security Information SECURITY
http://www.securityfocus.com/bid/37974
www.ubuntu.com/usn/usn-1397-1 WEB
http://www.ubuntu.com/usn/USN-1397-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/0233
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/0236
www.yassl.com/news.html WEB
http://www.yassl.com/news.html#yassl199
www.yassl.com/release.html WEB
http://www.yassl.com/release.html
yassl.cvs.sourceforge.net/viewvc/yassl/yassl/... WEB
http://yassl.cvs.sourceforge.net/viewvc/yassl/yassl/taocrypt/src/asn.cpp?r1=1.13&r2=1.14
Software Security Information SECURITY
http://securitytracker.com/id?1023513
ubuntu.com/usn/usn-897-1 WEB
http://ubuntu.com/usn/usn-897-1
Software Security Information SECURITY
http://www.debian.org/security/2010/dsa-1997
www.intevydis.com/blog/ WEB
http://www.intevydis.com/blog/?p=57

Frequently Asked Questions

What is CVE-2009-4484?
CVE-2009-4484 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-787: Out-of-bounds Write.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-4484?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-4484?
CVE-2009-4484 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2009-4484?
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-r9xr-rjgc-3q5h",
  "modified" : "2022-05-02T03:55:14Z",
  "published" : "2022-05-02T03:55:14Z",
  "aliases" : [ "CVE-2009-4484" ],
  "details" : "Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysqld in MySQL 5.0.x before 5.0.90, MySQL 5.1.x before 5.1.43, MySQL 5.5.x through 5.5.0-m2, and other products, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption and daemon crash) by establishing an SSL connection and sending an X.509 client certificate with a crafted name field, as demonstrated by mysql_overflow1.py and the vd_mysql5 module in VulnDisco Pack Professional 8.11. NOTE: this was originally reported for MySQL 5.0.51a.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-4484"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=555313"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/55416"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/dailydave/2010-q1/0002.html"
  }, {
    "type" : "WEB",
    "url" : "http://bazaar.launchpad.net/~mysql/mysql-server/mysql-5.0/revision/2837.1.1"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.mysql.com/bug.php?id=50227"
  }, {
    "type" : "WEB",
    "url" : "http://dev.mysql.com/doc/refman/5.0/en/news-5-0-90.html"
  }, {
    "type" : "WEB",
    "url" : "http://dev.mysql.com/doc/refman/5.1/en/news-5-1-43.html"
  }, {
    "type" : "WEB",
    "url" : "http://intevydis.blogspot.com/2010/01/mysq-yassl-stack-overflow.html"
  }, {
    "type" : "WEB",
    "url" : "http://intevydis.com/mysql_demo.html"
  }, {
    "type" : "WEB",
    "url" : "http://intevydis.com/mysql_overflow1.py.txt"
  }, {
    "type" : "WEB",
    "url" : "http://intevydis.com/vd-list.shtml"
  }, {
    "type" : "WEB",
    "url" : "http://isc.sans.org/diary.html?storyid=7900"
  }, {
    "type" : "WEB",
    "url" : "http://lists.immunitysec.com/pipermail/dailydave/2010-January/006020.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.mysql.com/commits/96697"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37493"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38344"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38364"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38517"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38573"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1023402"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1023513"
  }, {
    "type" : "WEB",
    "url" : "http://ubuntu.com/usn/usn-897-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2010/dsa-1997"
  }, {
    "type" : "WEB",
    "url" : "http://www.intevydis.com/blog/?p=106"
  }, {
    "type" : "WEB",
    "url" : "http://www.intevydis.com/blog/?p=57"
  }, {
    "type" : "WEB",
    "url" : "http://www.metasploit.com/modules/exploit/linux/mysql/mysql_yassl_getname"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/61956"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37640"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37943"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37974"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-1397-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/0233"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/0236"
  }, {
    "type" : "WEB",
    "url" : "http://www.yassl.com/news.html#yassl199"
  }, {
    "type" : "WEB",
    "url" : "http://www.yassl.com/release.html"
  }, {
    "type" : "WEB",
    "url" : "http://yassl.cvs.sourceforge.net/viewvc/yassl/yassl/taocrypt/src/asn.cpp?r1=1.13&r2=1.14"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-12-30T21:30:00Z"
  }
}