GSD-2018-1002208

Vulnerability from gsd - Updated: 2023-12-13 01:22
Details
SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

{
  "GSD": {
    "alias": "CVE-2018-1002208",
    "description": "SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as \u0027Zip-Slip\u0027.",
    "id": "GSD-2018-1002208"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2018-1002208"
      ],
      "details": "SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as \u0027Zip-Slip\u0027.",
      "id": "GSD-2018-1002208",
      "modified": "2023-12-13T01:22:37.798485Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "report@snyk.io",
        "DATE_ASSIGNED": "2018-05-17T10:52Z",
        "ID": "CVE-2018-1002208",
        "REQUESTER": "danny@snyk.io",
        "STATE": "PUBLIC",
        "UPDATED": "2018-06-11T10:52Z"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "SharpZipLib",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003c 1.0 RC1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "SharpZipLib"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as \u0027Zip-Slip\u0027."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-22"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://snyk.io/research/zip-slip-vulnerability",
            "refsource": "MISC",
            "url": "https://snyk.io/research/zip-slip-vulnerability"
          },
          {
            "name": "https://github.com/icsharpcode/SharpZipLib/issues/232",
            "refsource": "CONFIRM",
            "url": "https://github.com/icsharpcode/SharpZipLib/issues/232"
          },
          {
            "name": "https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0",
            "refsource": "CONFIRM",
            "url": "https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0"
          },
          {
            "name": "https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247",
            "refsource": "MISC",
            "url": "https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247"
          },
          {
            "name": "https://github.com/snyk/zip-slip-vulnerability",
            "refsource": "MISC",
            "url": "https://github.com/snyk/zip-slip-vulnerability"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,1.0.0-alpha2]",
          "affected_versions": "All versions up to 1.0.0-alpha2",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cvss_v3": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2022-06-30",
          "description": "SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as \u0027Zip-Slip\u0027.",
          "fixed_versions": [
            "1.0.0-rc1"
          ],
          "identifier": "CVE-2018-1002208",
          "identifiers": [
            "GHSA-cqj4-m2pc-v9m5",
            "CVE-2018-1002208"
          ],
          "not_impacted": "All versions after 1.0.0-alpha2",
          "package_slug": "nuget/SharpZipLib",
          "pubdate": "2022-05-13",
          "solution": "Upgrade to version 1.0.0-rc1 or above. *Note*: 1.0.0-rc1 may be an unstable version. Use caution.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2018-1002208",
            "https://github.com/icsharpcode/SharpZipLib/issues/232",
            "https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0",
            "https://github.com/snyk/zip-slip-vulnerability",
            "https://snyk.io/research/zip-slip-vulnerability",
            "https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247",
            "https://github.com/advisories/GHSA-cqj4-m2pc-v9m5"
          ],
          "uuid": "e8dbeb94-3ecf-4cc2-a177-13190bcc20e2"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:sharpziplib_project:sharpziplib:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "0.86.0.518",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "report@snyk.io",
          "ID": "CVE-2018-1002208"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "SharpZipLib before 1.0 RC1 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as \u0027Zip-Slip\u0027."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Patch",
                "Technical Description"
              ],
              "url": "https://snyk.io/vuln/SNYK-DOTNET-SHARPZIPLIB-60247"
            },
            {
              "name": "https://snyk.io/research/zip-slip-vulnerability",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://snyk.io/research/zip-slip-vulnerability"
            },
            {
              "name": "https://github.com/snyk/zip-slip-vulnerability",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/snyk/zip-slip-vulnerability"
            },
            {
              "name": "https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/icsharpcode/SharpZipLib/wiki/Release-1.0"
            },
            {
              "name": "https://github.com/icsharpcode/SharpZipLib/issues/232",
              "refsource": "CONFIRM",
              "tags": [
                "Issue Tracking",
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/icsharpcode/SharpZipLib/issues/232"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 1.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2019-10-09T23:32Z",
      "publishedDate": "2018-07-25T17: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…