CVE-2005-3185: Software Security Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-pr2f-jh2p-p39m
CWE-119
Published
Advisory Summary

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

CVE Identifier CVE-2005-3185
GHSA Identifier GHSA-pr2f-jh2p-p39m
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-2005-3185

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-3185, 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

Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username.

References

NVD — CVE-2005-3185 NVD
https://nvd.nist.gov/vuln/detail/CVE-2005-3185
exchange.xforce.ibmcloud.com/vulnerabilities/227... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/22721
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9810
usn.ubuntu.com/205-1 WEB
https://usn.ubuntu.com/205-1
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=302847
lists.trustix.org/pipermail/tsl-annou... WEB
http://lists.trustix.org/pipermail/tsl-announce/2005-October/000354.html
secunia.com/advisories/17192 WEB
http://secunia.com/advisories/17192
secunia.com/advisories/17193 WEB
http://secunia.com/advisories/17193
secunia.com/advisories/17203 WEB
http://secunia.com/advisories/17203
secunia.com/advisories/17208 WEB
http://secunia.com/advisories/17208
secunia.com/advisories/17228 WEB
http://secunia.com/advisories/17228
secunia.com/advisories/17247 WEB
http://secunia.com/advisories/17247
secunia.com/advisories/17297 WEB
http://secunia.com/advisories/17297
secunia.com/advisories/17320 WEB
http://secunia.com/advisories/17320
secunia.com/advisories/17400 WEB
http://secunia.com/advisories/17400
secunia.com/advisories/17403 WEB
http://secunia.com/advisories/17403
secunia.com/advisories/17485 WEB
http://secunia.com/advisories/17485
secunia.com/advisories/17813 WEB
http://secunia.com/advisories/17813
secunia.com/advisories/17965 WEB
http://secunia.com/advisories/17965
secunia.com/advisories/19193 WEB
http://secunia.com/advisories/19193
Software Security Information SECURITY
http://securityreason.com/securityalert/82
Software Security Information SECURITY
http://securitytracker.com/id?1015056
Software Security Information SECURITY
http://securitytracker.com/id?1015057
Software Security Information SECURITY
http://slackware.com/security/viewer.php?l=slackware-security&y=2005&m=slackware-security.519010
Software Security Information SECURITY
http://www.debian.org/security/2005/dsa-919
Software Security Information SECURITY
http://www.gentoo.org/security/en/glsa/glsa-200510-19.xml
www.idefense.com/application/poi/dis... WEB
http://www.idefense.com/application/poi/display?id=322&type=vulnerabilities
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDKSA-2005:182
Software Security Information SECURITY
http://www.novell.com/linux/security/advisories/2005_63_wget_curl.html
www.osvdb.org/20011 WEB
http://www.osvdb.org/20011
www.redhat.com/archives/fedora-ann... WEB
http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html
www.redhat.com/archives/fedora-ann... WEB
http://www.redhat.com/archives/fedora-announce-list/2005-October/msg00055.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-807.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2005-812.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/15102
Software Security Information SECURITY
http://www.securityfocus.com/bid/15647
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2005/2088
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2005/2125
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2005/2659

Frequently Asked Questions

What is CVE-2005-3185?
CVE-2005-3185 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-2005-3185?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2005-3185?
CVE-2005-3185 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-2005-3185?
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-pr2f-jh2p-p39m",
  "modified" : "2022-05-03T03:14:25Z",
  "published" : "2022-05-03T03:14:25Z",
  "aliases" : [ "CVE-2005-3185" ],
  "details" : "Stack-based buffer overflow in the ntlm_output function in http-ntlm.c for (1) wget 1.10, (2) curl 7.13.2, and (3) libcurl 7.13.2, and other products that use libcurl, when NTLM authentication is enabled, allows remote servers to execute arbitrary code via a long NTLM username.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2005-3185"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/22721"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9810"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/205-1"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=302847"
  }, {
    "type" : "WEB",
    "url" : "http://lists.trustix.org/pipermail/tsl-announce/2005-October/000354.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17192"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17193"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17203"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17208"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17228"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17247"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17297"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17320"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17400"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17403"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17485"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17813"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/17965"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/19193"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/82"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1015056"
  }, {
    "type" : "WEB",
    "url" : "http://securitytracker.com/id?1015057"
  }, {
    "type" : "WEB",
    "url" : "http://slackware.com/security/viewer.php?l=slackware-security&y=2005&m=slackware-security.519010"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2005/dsa-919"
  }, {
    "type" : "WEB",
    "url" : "http://www.gentoo.org/security/en/glsa/glsa-200510-19.xml"
  }, {
    "type" : "WEB",
    "url" : "http://www.idefense.com/application/poi/display?id=322&type=vulnerabilities"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDKSA-2005:182"
  }, {
    "type" : "WEB",
    "url" : "http://www.novell.com/linux/security/advisories/2005_63_wget_curl.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/20011"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/archives/fedora-announce-list/2005-December/msg00020.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/archives/fedora-announce-list/2005-October/msg00055.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-807.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2005-812.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/15102"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/15647"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2005/2088"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2005/2125"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2005/2659"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "HIGH",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2005-10-13T22:02:00Z"
  }
}