GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2018-1000544

Vulnerability from gsd - Updated: 2018-06-14 00:00
Details
rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. If a site allows uploading of .zip files, an attacker can upload a malicious file which contains symlinks or files with absolute pathnames "../" to write arbitrary files to the filesystem.

{
  "GSD": {
    "alias": "CVE-2018-1000544",
    "description": "rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames \"../\" to write arbitrary files to the filesystem..",
    "id": "GSD-2018-1000544",
    "references": [
      "https://www.suse.com/security/cve/CVE-2018-1000544.html",
      "https://access.redhat.com/errata/RHSA-2018:3466"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "rubyzip",
            "purl": "pkg:gem/rubyzip"
          }
        }
      ],
      "aliases": [
        "CVE-2018-1000544",
        "GHSA-vqcq-mrmw-mcmg"
      ],
      "details": "rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability\nin Zip::File component that can result in write arbitrary files to the filesystem.\nIf a site allows uploading of .zip files, an attacker can upload a malicious file\nwhich contains symlinks or files with absolute pathnames \"../\" to write arbitrary\nfiles to the filesystem.\n",
      "id": "GSD-2018-1000544",
      "modified": "2018-06-14T00:00:00.000Z",
      "published": "2018-06-14T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/rubyzip/rubyzip/issues/369"
        },
        {
          "type": "WEB",
          "url": "https://security-tracker.debian.org/tracker/CVE-2018-1000544"
        }
      ],
      "related": [
        "CVE-2017-5946"
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 9.8,
          "type": "CVSS_V3"
        }
      ],
      "summary": "Directory Traversal in rubyzip"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "DATE_ASSIGNED": "2018-06-23T11:22:33.063397",
        "DATE_REQUESTED": "2018-06-15T12:03:17",
        "ID": "CVE-2018-1000544",
        "REQUESTER": "tuzovakaoff@gmail.com",
        "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": "rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames \"../\" to write arbitrary files to the filesystem.."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/rubyzip/rubyzip/issues/369",
            "refsource": "MISC",
            "url": "https://github.com/rubyzip/rubyzip/issues/369"
          },
          {
            "name": "RHSA-2018:3466",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2018:3466"
          },
          {
            "name": "[debian-lts-announce] 20180815 [SECURITY] [DLA 1467-1] ruby-zip security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html"
          },
          {
            "name": "[debian-lts-announce] 20200801 [SECURITY] [DLA 2307-1] ruby-zip security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html"
          }
        ]
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2018-1000544",
      "cvss_v3": 9.8,
      "date": "2018-06-14",
      "description": "rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability\nin Zip::File component that can result in write arbitrary files to the filesystem.\nIf a site allows uploading of .zip files, an attacker can upload a malicious file\nwhich contains symlinks or files with absolute pathnames \"../\" to write arbitrary\nfiles to the filesystem.\n",
      "gem": "rubyzip",
      "ghsa": "vqcq-mrmw-mcmg",
      "patched_versions": [
        "\u003e= 1.2.2"
      ],
      "related": {
        "cve": [
          "2017-5946"
        ],
        "url": [
          "https://security-tracker.debian.org/tracker/CVE-2018-1000544"
        ]
      },
      "title": "Directory Traversal in rubyzip",
      "url": "https://github.com/rubyzip/rubyzip/issues/369"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=1.2.1",
          "affected_versions": "All versions up to 1.2.1",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-434",
            "CWE-59",
            "CWE-937"
          ],
          "date": "2019-03-13",
          "description": "The gem rubyzip contains a Directory Traversal vulnerability in `Zip::File` component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of `.zip` files, an attacker can upload a malicious file that contains symlinks or files with absolute pathnames `..` to write arbitrary files to the filesystem.",
          "fixed_versions": [
            "1.2.2"
          ],
          "identifier": "CVE-2018-1000544",
          "identifiers": [
            "CVE-2018-1000544"
          ],
          "not_impacted": "All versions after 1.2.1",
          "package_slug": "gem/rubyzip",
          "pubdate": "2018-06-26",
          "solution": "Upgrade to version 1.2.2 or above.",
          "title": "Path Traversal",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2018-1000544"
          ],
          "uuid": "99f8ccec-097c-4147-9cd0-2a8cd3a354a4"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:rubyzip_project:rubyzip:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.2.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2018-1000544"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "rubyzip gem rubyzip version 1.2.1 and earlier contains a Directory Traversal vulnerability in Zip::File component that can result in write arbitrary files to the filesystem. This attack appear to be exploitable via If a site allows uploading of .zip files , an attacker can upload a malicious file that contains symlinks or files with absolute pathnames \"../\" to write arbitrary files to the filesystem.."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-59"
                },
                {
                  "lang": "en",
                  "value": "CWE-434"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/rubyzip/rubyzip/issues/369",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/rubyzip/rubyzip/issues/369"
            },
            {
              "name": "[debian-lts-announce] 20180815 [SECURITY] [DLA 1467-1] ruby-zip security update",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2018/08/msg00013.html"
            },
            {
              "name": "RHSA-2018:3466",
              "refsource": "REDHAT",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://access.redhat.com/errata/RHSA-2018:3466"
            },
            {
              "name": "[debian-lts-announce] 20200801 [SECURITY] [DLA 2307-1] ruby-zip security update",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00002.html"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2020-08-24T17:37Z",
      "publishedDate": "2018-06-26T16:29Z"
    }
  }
}



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…

Detection rules are retrieved from Rulezet.

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…