Vulnerability advisory

CVE-2021-23337

Published Updated OSV record ↗

Also known as GHSA-35jh-r3h4-6jhm

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/lodash/lodash ↗
All commits before c6e281b878b315c7a10d90f9c2af4cdb112d9625c6e281b878b315c7a10d90f9c2af4cdb112d9625
Also listed as affected (65)
  • 4.17.20-npm
  • 4.17.15-npm
  • 4.17.14-npm
  • 4.17.13-npm
  • 4.17.12-npm
  • 4.17.11-npm
  • 4.17.10-npm
  • 4.17.9-npm
  • 4.17.5-npm
  • 4.17.4-npm
  • 4.17.3-npm
  • 4.17.2-npm
  • 4.17.1-npm
  • 4.17.0-npm
  • 4.16.6-npm
  • 4.16.5-npm
  • 4.16.4-npm
  • 4.16.3-npm
  • 4.16.2-npm
  • 4.16.1-npm
  • 4.16.0-npm
  • 4.15.0-npm
  • 4.14.2-npm
  • 4.14.1-npm
  • 4.14.0-npm
  • 4.13.1-npm
  • 4.13.0-npm
  • 4.12.0-npm
  • 4.11.2-npm
  • 4.11.1-npm
  • 4.11.0-npm
  • 4.10.0-npm
  • 4.9.0-npm
  • 4.8.2-npm
  • 4.8.1-npm
  • 4.8.0-npm
  • 4.7.0-npm
  • 4.6.1-npm
  • 4.6.0-npm
  • 4.5.1-npm
  • 4.5.0-npm
  • 4.4.0-npm
  • 4.3.0-npm
  • 4.2.1-npm
  • 4.2.0-npm
  • 4.1.0-npm
  • 4.0.1-npm
  • 4.0.0-npm
  • 3.10.1-npm
  • 3.10.0-npm
  • 3.9.3-npm
  • 3.9.2-npm
  • 3.9.1-npm
  • 3.9.0-npm
  • 3.8.0-npm
  • 3.7.0-npm
  • 3.6.0-npm
  • 3.5.0-npm
  • 3.4.0-npm
  • 3.3.1-npm
  • 3.3.0-npm
  • 3.2.0-npm
  • 3.1.0-npm
  • 3.0.1-npm
  • 3.0.0-npm

Description

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools