CVE-2004-1008 (GCVE-0-2004-1008)

Vulnerability from cvelistv5 – Published: 2004-12-01 05:00 – Updated: 2024-08-08 00:39
VLAI
Summary
Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow.
Severity
No CVSS data available.
CWE
  • n/a
References
URL Tags
http://www-1.ibm.com/support/docview.wss?uid=ssg1… x_refsource_CONFIRM
http://secunia.com/advisories/13012/ third-party-advisoryx_refsource_SECUNIA
http://www.idefense.com/application/poi/display?i… third-party-advisoryx_refsource_IDEFENSE
http://www.chiark.greenend.org.uk/~sgtatham/putty/ x_refsource_CONFIRM
https://exchange.xforce.ibmcloud.com/vulnerabilit… vdb-entryx_refsource_XF
http://secunia.com/advisories/12987/ third-party-advisoryx_refsource_SECUNIA
http://www.securityfocus.com/bid/11549 vdb-entryx_refsource_BID
http://marc.info/?l=bugtraq&m=109889312917613&w=2 mailing-listx_refsource_BUGTRAQ
http://www-1.ibm.com/support/docview.wss?uid=ssg1… x_refsource_CONFIRM
http://secunia.com/advisories/17214 third-party-advisoryx_refsource_SECUNIA
http://www.gentoo.org/security/en/glsa/glsa-20041… vendor-advisoryx_refsource_GENTOO
Date Public
2004-10-27 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-08T00:39:00.884Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414"
          },
          {
            "name": "13012",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/13012/"
          },
          {
            "name": "20041027 PuTTY SSH2_MSG_DEBUG Buffer Overflow Vulnerability",
            "tags": [
              "third-party-advisory",
              "x_refsource_IDEFENSE",
              "x_transferred"
            ],
            "url": "http://www.idefense.com/application/poi/display?id=155\u0026type=vulnerabilities\u0026flashstatus=true"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www.chiark.greenend.org.uk/~sgtatham/putty/"
          },
          {
            "name": "putty-ssh2msgdebug-bo(17886)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17886"
          },
          {
            "name": "12987",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/12987/"
          },
          {
            "name": "11549",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/11549"
          },
          {
            "name": "20041027 PuTTY SSH client vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_BUGTRAQ",
              "x_transferred"
            ],
            "url": "http://marc.info/?l=bugtraq\u0026m=109889312917613\u0026w=2"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416"
          },
          {
            "name": "17214",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/17214"
          },
          {
            "name": "GLSA-200410-29",
            "tags": [
              "vendor-advisory",
              "x_refsource_GENTOO",
              "x_transferred"
            ],
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2004-10-27T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-07-10T14:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414"
        },
        {
          "name": "13012",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/13012/"
        },
        {
          "name": "20041027 PuTTY SSH2_MSG_DEBUG Buffer Overflow Vulnerability",
          "tags": [
            "third-party-advisory",
            "x_refsource_IDEFENSE"
          ],
          "url": "http://www.idefense.com/application/poi/display?id=155\u0026type=vulnerabilities\u0026flashstatus=true"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www.chiark.greenend.org.uk/~sgtatham/putty/"
        },
        {
          "name": "putty-ssh2msgdebug-bo(17886)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17886"
        },
        {
          "name": "12987",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/12987/"
        },
        {
          "name": "11549",
          "tags": [
            "vdb-entry",
            "x_refsource_BID"
          ],
          "url": "http://www.securityfocus.com/bid/11549"
        },
        {
          "name": "20041027 PuTTY SSH client vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_BUGTRAQ"
          ],
          "url": "http://marc.info/?l=bugtraq\u0026m=109889312917613\u0026w=2"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416"
        },
        {
          "name": "17214",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/17214"
        },
        {
          "name": "GLSA-200410-29",
          "tags": [
            "vendor-advisory",
            "x_refsource_GENTOO"
          ],
          "url": "http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2004-1008",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414",
              "refsource": "CONFIRM",
              "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414"
            },
            {
              "name": "13012",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/13012/"
            },
            {
              "name": "20041027 PuTTY SSH2_MSG_DEBUG Buffer Overflow Vulnerability",
              "refsource": "IDEFENSE",
              "url": "http://www.idefense.com/application/poi/display?id=155\u0026type=vulnerabilities\u0026flashstatus=true"
            },
            {
              "name": "http://www.chiark.greenend.org.uk/~sgtatham/putty/",
              "refsource": "CONFIRM",
              "url": "http://www.chiark.greenend.org.uk/~sgtatham/putty/"
            },
            {
              "name": "putty-ssh2msgdebug-bo(17886)",
              "refsource": "XF",
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17886"
            },
            {
              "name": "12987",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/12987/"
            },
            {
              "name": "11549",
              "refsource": "BID",
              "url": "http://www.securityfocus.com/bid/11549"
            },
            {
              "name": "20041027 PuTTY SSH client vulnerability",
              "refsource": "BUGTRAQ",
              "url": "http://marc.info/?l=bugtraq\u0026m=109889312917613\u0026w=2"
            },
            {
              "name": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416",
              "refsource": "CONFIRM",
              "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416"
            },
            {
              "name": "17214",
              "refsource": "SECUNIA",
              "url": "http://secunia.com/advisories/17214"
            },
            {
              "name": "GLSA-200410-29",
              "refsource": "GENTOO",
              "url": "http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2004-1008",
    "datePublished": "2004-12-01T05:00:00.000Z",
    "dateReserved": "2004-11-03T00:00:00.000Z",
    "dateUpdated": "2024-08-08T00:39:00.884Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2004-1008",
      "date": "2026-09-27",
      "epss": "0.07363",
      "percentile": "0.94203"
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.48:*:*:*:*:*:*:*",
                    "matchCriteriaId": "1283B462-042C-4857-A700-4179AAE20E2F",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.49:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2791C9DD-F55D-4683-85AF-B6814C34EFBF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.50:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6D7582C1-AA8E-41E4-9D69-9A18A5B76CB0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.51:*:*:*:*:*:*:*",
                    "matchCriteriaId": "FC082AE0-C49D-4944-BE76-B751DAD1EF84",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.52:*:*:*:*:*:*:*",
                    "matchCriteriaId": "23BAD8E4-2D3A-45EE-A25D-77BD698119BB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.53:*:*:*:*:*:*:*",
                    "matchCriteriaId": "58BA8E70-9491-4D4F-9182-2F48347BF6FC",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.53b:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8F7716EC-E0F9-4E50-8351-35D2F248B380",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.54:*:*:*:*:*:*:*",
                    "matchCriteriaId": "46C2BD4D-9817-459E-ACF4-9C95233200A2",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:putty:putty:0.55:*:*:*:*:*:*:*",
                    "matchCriteriaId": "22EE5957-76F3-4B20-ADE7-E72D1300A3F0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:tortoisecvs:tortoisecvs:1.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8F8DFE94-B24C-4538-944F-3E609D5992D4",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Integer signedness error in the ssh2_rdpkt function in PuTTY before 0.56 allows remote attackers to execute arbitrary code via a SSH2_MSG_DEBUG packet with a modified stringlen parameter, which leads to a buffer overflow."
          },
          {
            "lang": "es",
            "value": "Error de falta de signo en enteros en la funci\u00f3n ssh2_rdpkt en PuTTY anteriores a 0.56 permite a atacantes remotos ejecutar c\u00f3digo de su elecci\u00f3n mediante un paquete SSH2_MSG_DEBUG con un par\u00e1metro stringlen modificado, lo que conduce a un desbordamiento de b\u00fafer."
          }
        ],
        "id": "CVE-2004-1008",
        "lastModified": "2026-04-16T00:27:16.627",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "HIGH",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "COMPLETE",
                "baseScore": 10.0,
                "confidentialityImpact": "COMPLETE",
                "integrityImpact": "COMPLETE",
                "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 10.0,
              "obtainAllPrivilege": true,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ]
        },
        "published": "2005-01-10T05:00:00.000",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "http://marc.info/?l=bugtraq\u0026m=109889312917613\u0026w=2"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://secunia.com/advisories/12987/"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://secunia.com/advisories/13012/"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://secunia.com/advisories/17214"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.chiark.greenend.org.uk/~sgtatham/putty/"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://www.idefense.com/application/poi/display?id=155\u0026type=vulnerabilities\u0026flashstatus=true"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://www.securityfocus.com/bid/11549"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17886"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://marc.info/?l=bugtraq\u0026m=109889312917613\u0026w=2"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://secunia.com/advisories/12987/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://secunia.com/advisories/13012/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://secunia.com/advisories/17214"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002414"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www-1.ibm.com/support/docview.wss?uid=ssg1S1002416"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.chiark.greenend.org.uk/~sgtatham/putty/"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://www.gentoo.org/security/en/glsa/glsa-200410-29.xml"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://www.idefense.com/application/poi/display?id=155\u0026type=vulnerabilities\u0026flashstatus=true"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Vendor Advisory"
            ],
            "url": "http://www.securityfocus.com/bid/11549"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/17886"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-Other"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…