Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm💎 RubyGems

GHSA-35jh-r3h4-6jhm

HIGH

Command Injection in lodash

Also known asCVE-2021-23337
Published
May 6, 2021
Updated
Aug 12, 2025
Affected
5 pkgs
Patched
3 / 5
Exploits
6 known

EPSS Exploitation Probability

via FIRST.org ↗
2.4%probability of exploitation in next 30 days
Lower Risk85th percentile-1.91%
0.00%1.85%3.70%5.55%0.2%2.4%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

5 pkgs affected
📦lodash📦lodash-es📦lodash.template📦lodash-template💎lodash-rails

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

5 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmlodashall versions4.17.21
📦npmlodash-esall versions4.17.21
📦npmlodash.templateall versionsNo fix
📦npmlodash-templateall versionsNo fix
💎RubyGemslodash-railsall versions4.17.21
Exploits & PoCs
6

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Frequently Asked Questions

`lodash` versions prior to 4.17.21 are vulnerable to Command Injection via the template function.
O3 Security · Impact-Aware SCA

Is GHSA-35jh-r3h4-6jhm in your stack?

O3 detects GHSA-35jh-r3h4-6jhm across npm, RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.