ghsa-2g5j-5x95-r6hr
Vulnerability from github
Published
2023-02-06 23:16
Modified
2023-02-06 23:16
Summary
Unsafe tar unpacking in HashiCorp go-slug
Details

HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/hashicorp/go-slug"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.5.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2020-29529"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-22",
      "CWE-59"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2023-02-06T23:16:16Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "HashiCorp go-slug before 0.5.0 does not address attempts at directory traversal involving ../ and symlinks.",
  "id": "GHSA-2g5j-5x95-r6hr",
  "modified": "2023-02-06T23:16:16Z",
  "published": "2023-02-06T23:16:16Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-29529"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashicorp/go-slug/pull/12"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashicorp/go-slug/commit/28cafc59c8da6126a3ae94dfa84181df4073454f"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashicorp/go-slug/commit/764785bc4cbb9e600ad1cf1a6bd21b535c182983"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/hashicorp/go-slug"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashicorp/go-slug/compare/v0.4.3...v0.5.0"
    },
    {
      "type": "WEB",
      "url": "https://github.com/hashicorp/go-slug/releases/tag/v0.5.0"
    },
    {
      "type": "WEB",
      "url": "https://pkg.go.dev/vuln/GO-2021-0094"
    },
    {
      "type": "ADVISORY",
      "url": "https://securitylab.github.com/advisories/GHSL-2020-262-zipslip-go-slug"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unsafe tar unpacking in HashiCorp go-slug"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.