{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2021-11-11"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b3ba9978"
            }
          ],
          "repo": "https://github.com/ohmyzsh/ohmyzsh",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b3ba9978"
            }
          ],
          "repo": "https://github.com/ohmyzsh/ohmyzsh",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "# Vulnerability in `pygmalion`, `pygmalion-virtualenv` and `refined` themes **Description**: these themes use `print -P` on user-supplied strings to print them to the terminal. All of them do that on git information, particularly the branch name, so if the branch has a specially-crafted name the vulnerability can be exploited. **Fixed in**: [b3ba9978](https://github.com/ohmyzsh/ohmyzsh/commit/b3ba9978). **Impacted areas**: - `pygmalion` theme. - `pygmalion-virtualenv` theme. - `refined` theme.",
  "id": "CVE-2021-3769",
  "modified": "2026-03-13T21:56:18.032483690Z",
  "published": "2021-11-30T10:15:09Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/ohmyzsh/ohmyzsh/commit/b3ba9978"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}