GHSA-X5M6-JH4R-34MV

Vulnerability from github – Published: 2022-02-15 01:07 – Updated: 2023-07-05 20:53
VLAI?
Summary
Hub Package Arbitrary File Overwrite
Details

The am function in lib/hub/commands.rb in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "github.com/github/hub"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "hub"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.12.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2014-0177"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-377"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-20T20:32:04Z",
    "nvd_published_at": "2014-05-27T14:55:10Z",
    "severity": "MODERATE"
  },
  "details": "The `am` function in `lib/hub/commands.rb` in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.",
  "id": "GHSA-x5m6-jh4r-34mv",
  "modified": "2023-07-05T20:53:41Z",
  "published": "2022-02-15T01:07:53Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0177"
    },
    {
      "type": "WEB",
      "url": "https://github.com/github/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mislav/hub/commit/016ec99d25b1cb83cb4367e541177aa431beb600"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mislav/hub"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mislav/hub/releases/tag/v1.12.1"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/hub/CVE-2014-0177.yml"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Hub Package Arbitrary File Overwrite"
}


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 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…