ghsa-8h3g-hcwp-6hxq
Vulnerability from github
Published
2023-02-06 06:30
Modified
2025-03-25 21:46
Summary
semver-tags is vulnerable to Command Injection via the getGitTagsRemote function
Details

All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "npm",
            name: "semver-tags",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     last_affected: "0.4.10",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2022-25853",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-77",
         "CWE-78",
      ],
      github_reviewed: true,
      github_reviewed_at: "2023-02-07T20:08:41Z",
      nvd_published_at: "2023-02-06T05:15:00Z",
      severity: "HIGH",
   },
   details: "All versions of the package semver-tags are vulnerable to Command Injection via the getGitTagsRemote function due to improper input sanitization.",
   id: "GHSA-8h3g-hcwp-6hxq",
   modified: "2025-03-25T21:46:36Z",
   published: "2023-02-06T06:30:25Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-25853",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/jtrussell/semver-tags",
      },
      {
         type: "WEB",
         url: "https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js#L21",
      },
      {
         type: "WEB",
         url: "https://github.com/jtrussell/semver-tags/blob/db1ba680bafed0d51e1bb36bd38f2c5439fe8b00/lib/get-tags.js%23L21",
      },
      {
         type: "WEB",
         url: "https://security.snyk.io/vuln/SNYK-JS-SEMVERTAGS-3175612",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "semver-tags is vulnerable to Command Injection via the getGitTagsRemote function",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.