CVE-2024-39520

Summary

An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system.

The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level.

This issue affects Junos OS Evolved:

  • All version before 20.4R3-S6-EVO, 
  • 21.2-EVO versions before 21.2R3-S4-EVO,
  • 21.4-EVO versions before 21.4R3-S6-EVO, 
  • 22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO, 
  • 22.3-EVO versions before 22.3R2-EVO.

Affected Software

VendorProductVersion RangeStatus
Juniper NetworksJunos OS Evolved0 < 20.4R3-S6-EVOaffected
Juniper NetworksJunos OS Evolved21.2-EVO < 21.2R3-S4-EVOaffected
Juniper NetworksJunos OS Evolved21.4-EVO < 21.4R3-S6-EVOaffected
Juniper NetworksJunos OS Evolved22.2-EVO < 22.2R2-S1-EVO, 22.2R3-EVOaffected
Juniper NetworksJunos OS Evolved22.3-EVO < 22.3R2-EVOaffected

Weaknesses

  • CWE-78: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Workarounds

There are no known workarounds for this issue.

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

CVE Program Container

Additional References

References