CVE-2005-3389: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-7vjg-5rq8-r4h2
Published
Advisory Summary

CVE-2005-3389 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-2005-3389 at a Glance

CVE Identifier CVE-2005-3389
GHSA Identifier GHSA-7vjg-5rq8-r4h2
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-2005-3389

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-2005-3389, 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 parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected.

References

NVD — CVE-2005-3389 NVD
https://nvd.nist.gov/vuln/detail/CVE-2005-3389
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481
www.ubuntu.com/usn/usn-232-1 WEB
https://www.ubuntu.com/usn/usn-232-1
itrc.hp.com/service/cki/docdisp... WEB
http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522
rhn.redhat.com/errata/rhsa-2006-05... WEB
http://rhn.redhat.com/errata/RHSA-2006-0549.html
secunia.com/advisories/17371 WEB
http://secunia.com/advisories/17371
secunia.com/advisories/17490 WEB
http://secunia.com/advisories/17490
secunia.com/advisories/17510 WEB
http://secunia.com/advisories/17510
secunia.com/advisories/17531 WEB
http://secunia.com/advisories/17531
secunia.com/advisories/17557 WEB
http://secunia.com/advisories/17557
secunia.com/advisories/17559 WEB
http://secunia.com/advisories/17559
secunia.com/advisories/18054 WEB
http://secunia.com/advisories/18054
secunia.com/advisories/18198 WEB
http://secunia.com/advisories/18198
secunia.com/advisories/18669 WEB
http://secunia.com/advisories/18669
secunia.com/advisories/21252 WEB
http://secunia.com/advisories/21252
secunia.com/advisories/22691 WEB
http://secunia.com/advisories/22691
Software Security Information SECURITY
http://securityreason.com/securityalert/134
Software Security Information SECURITY
http://securitytracker.com/id?1015131
Software Security Information SECURITY
http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm
Software Security Information SECURITY
http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml
www.hardened-php.net/advisory_192005.78.... WEB
http://www.hardened-php.net/advisory_192005.78.html
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:213
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2005_27_sr.html
Software Security Information SECURITY
http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html
www.php.net/release_4_4_1.php WEB
http://www.php.net/release_4_4_1.php
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-831.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-838.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/415291
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/419504/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/15249
Software Security Information SECURITY
http://www.turbolinux.com/security/2006/TLSA-2006-38.txt
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2005/2254
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2006/4320

Frequently Asked Questions

What is CVE-2005-3389?
CVE-2005-3389 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-2005-3389?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2005-3389?
CVE-2005-3389 is classified under General Security Weakness.
How can I check Maven dependencies for CVE-2005-3389?
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-7vjg-5rq8-r4h2",
  "modified" : "2025-04-03T04:19:09Z",
  "published" : "2022-05-01T02:17:32Z",
  "aliases" : [ "CVE-2005-3389" ],
  "details" : "The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2005-3389"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11481"
  }, {
    "type" : "WEB",
    "url" : "https://www.ubuntu.com/usn/usn-232-1"
  }, {
    "type" : "WEB",
    "url" : "http://itrc.hp.com/service/cki/docDisplay.do?docId=c00786522"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2006-0549.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17371"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17490"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17510"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17531"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17557"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17559"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18054"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18198"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/18669"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/21252"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/22691"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/134"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1015131"
  }, {
    "type" : "WEB",
    "url" : "http://support.avaya.com/elmodocs2/security/ASA-2006-037.htm"
  }, {
    "type" : "WEB",
    "url" : "http://www.fedoralegacy.org/updates/FC2/2005-11-28-FLSA_2005_166943__Updated_php_packages_fix_security_issues.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200511-08.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.hardened-php.net/advisory_192005.78.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:213"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2005_27_sr.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openpkg.org/security/OpenPKG-SA-2005.027-php.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.php.net/release_4_4_1.php"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-831.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-838.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/415291"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/419504/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/15249"
  }, {
    "type" : "WEB",
    "url" : "http://www.turbolinux.com/security/2006/TLSA-2006-38.txt"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2005/2254"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2006/4320"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2005-11-01T12:47:00Z"
  }
}