ghsa-mpwj-fcr6-x34c
Vulnerability from github
Published
2024-02-04 21:30
Modified
2024-02-05 20:20
Summary
Yarn untrusted search path vulnerability
Details

An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "npm",
            name: "yarn",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "1.22.13",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2021-4435",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-426",
      ],
      github_reviewed: true,
      github_reviewed_at: "2024-02-05T20:20:29Z",
      nvd_published_at: "2024-02-04T20:15:45Z",
      severity: "HIGH",
   },
   details: "An untrusted search path vulnerability was found in Yarn. When a victim runs certain Yarn commands in a directory with attacker-controlled content, malicious commands could be executed in unexpected ways.",
   id: "GHSA-mpwj-fcr6-x34c",
   modified: "2024-02-05T20:20:29Z",
   published: "2024-02-04T21:30:43Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2021-4435",
      },
      {
         type: "WEB",
         url: "https://github.com/yarnpkg/yarn/commit/67fcce88935e45092ffa2674c08053f1ef5268a1",
      },
      {
         type: "WEB",
         url: "https://access.redhat.com/security/cve/CVE-2021-4435",
      },
      {
         type: "WEB",
         url: "https://bugzilla.redhat.com/show_bug.cgi?id=2262284",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/yarnpkg/yarn",
      },
      {
         type: "WEB",
         url: "https://github.com/yarnpkg/yarn/releases/tag/v1.22.13",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "Yarn untrusted search path vulnerability",
}


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.