The PKI keys exported using the command "run request security pki key-pair export" on Junos OS may have insecure file permissions. This may allow another user on the Junos OS device with shell access to read them. This issue affects: Juniper Networks Junos OS 15.1X49 versions prior to 15.1X49-D180; 17.3 versions prior to 17.3R3-S7; 17.4 versions prior to 17.4R2-S8, 17.4R3; 18.1 versions prior to 18.1R3-S8; 18.2 versions prior to 18.2R3; 18.3 versions prior to 18.3R2; 18.4 versions prior to 18.4R2.
The following software releases have been updated to resolve this specific issue: 15.1X49-D180, 17.3R3-S7*, 17.4R2-S8, 17.4R3*, 18.1R3-S8*, 18.2R3, 18.3R2, 18.4R2, 19.1R1, and all subsequent releases. *pending release.
Do not use directories readable by other users (such as /tmp) while exporting PKI keys. Limit access to the Junos OS device to only trusted administrators.
| Product | Vulnerable range | Fixed version | Advisory |
|---|---|---|---|
| Juniper Networks Junos OS | >=15.1X49<15.1X49-D180 | 15.1X49-D180 | advisory ↗ |
| Juniper Networks Junos OS | >=17.3<17.3R3-S7 | 17.3R3-S7 | advisory ↗ |
| Juniper Networks Junos OS | >=17.4<17.4R2-S8, 17.4R3 | 17.4R2-S8, 17.4R3 | advisory ↗ |
| Juniper Networks Junos OS | >=18.1<18.1R3-S8 | 18.1R3-S8 | advisory ↗ |
| Juniper Networks Junos OS | >=18.2<18.2R3 | 18.2R3 | advisory ↗ |
| Juniper Networks Junos OS | >=18.3<18.3R2 | 18.3R2 | advisory ↗ |
| Juniper Networks Junos OS | >=18.4<18.4R2 | 18.4R2 | advisory ↗ |