GSD-2008-2942

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via ".." (dot dot) sequences in a patch file.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2008-2942",
    "description": "Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via \"..\" (dot dot) sequences in a patch file.",
    "id": "GSD-2008-2942",
    "references": [
      "https://www.suse.com/security/cve/CVE-2008-2942.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2008-2942"
      ],
      "details": "Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via \"..\" (dot dot) sequences in a patch file.",
      "id": "GSD-2008-2942",
      "modified": "2023-12-13T01:23:00.849640Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2008-2942",
        "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": "Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via \"..\" (dot dot) sequences in a patch file."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://www.selenic.com/hg/rev/87c704ac92d4",
            "refsource": "CONFIRM",
            "url": "http://www.selenic.com/hg/rev/87c704ac92d4"
          },
          {
            "name": "mercurial-patch-directory-traversal(43551)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/43551"
          },
          {
            "name": "30072",
            "refsource": "BID",
            "url": "http://www.securityfocus.com/bid/30072"
          },
          {
            "name": "https://issues.rpath.com/browse/RPL-2633",
            "refsource": "CONFIRM",
            "url": "https://issues.rpath.com/browse/RPL-2633"
          },
          {
            "name": "[oss-security] 20080630 CVE id request mercurial:Insufficient input validation",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2008/06/30/1"
          },
          {
            "name": "SUSE-SR:2008:015",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html"
          },
          {
            "name": "http://wiki.rpath.com/Advisories:rPSA-2008-0211",
            "refsource": "CONFIRM",
            "url": "http://wiki.rpath.com/Advisories:rPSA-2008-0211"
          },
          {
            "name": "20080703 rPSA-2008-0211-1 mercurial mercurial-hgk",
            "refsource": "BUGTRAQ",
            "url": "http://www.securityfocus.com/archive/1/493881/100/0/threaded"
          },
          {
            "name": "GLSA-200807-09",
            "refsource": "GENTOO",
            "url": "http://security.gentoo.org/glsa/glsa-200807-09.xml"
          },
          {
            "name": "[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2008/07/01/1"
          },
          {
            "name": "31110",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/31110"
          },
          {
            "name": "31167",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/31167"
          },
          {
            "name": "31108",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/31108"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:mercurial:mercurial:1.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2008-2942"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Directory traversal vulnerability in patch.py in Mercurial 1.0.1 allows user-assisted attackers to modify arbitrary files via \"..\" (dot dot) sequences in a patch file."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://www.selenic.com/hg/rev/87c704ac92d4",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit"
              ],
              "url": "http://www.selenic.com/hg/rev/87c704ac92d4"
            },
            {
              "name": "[oss-security] 20080630 CVE id request mercurial:Insufficient input validation",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2008/06/30/1"
            },
            {
              "name": "31108",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/31108"
            },
            {
              "name": "SUSE-SR:2008:015",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00006.html"
            },
            {
              "name": "https://issues.rpath.com/browse/RPL-2633",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "https://issues.rpath.com/browse/RPL-2633"
            },
            {
              "name": "30072",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/30072"
            },
            {
              "name": "[oss-security] 20080701 Re: CVE id request mercurial:Insufficient input validation",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2008/07/01/1"
            },
            {
              "name": "GLSA-200807-09",
              "refsource": "GENTOO",
              "tags": [],
              "url": "http://security.gentoo.org/glsa/glsa-200807-09.xml"
            },
            {
              "name": "http://wiki.rpath.com/Advisories:rPSA-2008-0211",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://wiki.rpath.com/Advisories:rPSA-2008-0211"
            },
            {
              "name": "31110",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/31110"
            },
            {
              "name": "31167",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/31167"
            },
            {
              "name": "mercurial-patch-directory-traversal(43551)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/43551"
            },
            {
              "name": "20080703 rPSA-2008-0211-1 mercurial mercurial-hgk",
              "refsource": "BUGTRAQ",
              "tags": [],
              "url": "http://www.securityfocus.com/archive/1/493881/100/0/threaded"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": true,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2018-10-11T20:45Z",
      "publishedDate": "2008-06-30T20:41Z"
    }
  }
}



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…