Product Affected

These issues affect Junos OS 17.2, 17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1.
High
7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)

Problem

Multiple vulnerabilities have been resolved in Juniper Networks Junos OS by upgrading OpenSSH included with Junos OS to OpenSSH 7.4, or by fixing vulnerabilities found during external security research.

These issues affect:

Juniper Networks Junos OS:

  • 17.2 versions prior to 17.2R3-S4;
  • 17.3 versions prior to 17.3R3-S8, 17.3R4;
  • 17.4 versions prior to 17.4R2-S9, 17.4R3;
  • 18.1 versions prior to 18.1R3-S13, 18.1R4;
  • 18.2 versions prior to 18.2R2-S7, 18.2R3;
  • 18.3 versions prior to 18.3R1-S7, 18.3R2;
  • 18.4 versions prior to 18.4R1-S7, 18.4R2;
  • 19.1 versions prior to 19.1R1-S4, 19.1R2.
An example of one location where SSH is used is the remote SSH administration service. The default configuration stanza for that example is:
[system services ssh]

Customers can determine what version of SSH they are running by issuing the following command:

root@device> start shell command "ssh -V"

Example output would show something similar to the following, providing the versions for OpenSSL and OpenSSH in the same line:

OpenSSH_7.5, SSH protocols 1.5/2.0, OpenSSL 1.0.2u 20 Dec 2019

Juniper SIRT is not aware of any malicious exploitation of these vulnerabilities.

This issue was discovered during a external security research.

Important security issues resolved include:

CVE CVSS Summary
CVE-2016-10009 7.3 ( CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L ) Untrusted search path vulnerability in ssh-agent.c in ssh-agent in OpenSSH before 7.4 allows remote attackers to execute arbitrary local PKCS#11 modules by leveraging control over a forwarded agent-socket.
CVE-2016-10010 7.0 ( CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H ) sshd in OpenSSH before 7.4, when privilege separation is not used, creates forwarded Unix-domain sockets as root, which might allow local users to gain privileges via unspecified vectors, related to serverloop.c.
CVE-2016-10011 5.5 ( CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N ) authfile.c in sshd in OpenSSH before 7.4 does not properly consider the effects of realloc on buffer contents, which might allow local users to obtain sensitive private-key information by leveraging access to a privilege-separated child process.
CVE-2016-10012 7.8 ( CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H ) The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds check is enforced by all compilers, which might allows local users to gain privileges by leveraging access to a sandboxed privilege-separation process, related to the m_zback and m_zlib data structures.
CVE-2016-10708 7.5 ( CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H ) sshd in OpenSSH before 7.4 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via an out-of-sequence NEWKEYS message, as demonstrated by Honggfuzz, related to kex.c and packet.c.

Solution

The following software releases have been updated to resolve these specific issues: Junos OS: 17.2R3-S4, 17.3R3-S8, 17.3R4, 17.4R2-S9, 17.4R3, 18.1R3-S13, 18.1R4, 18.2R2-S7, 18.2R3, 18.3R1-S7, 18.3R2, 18.4R1-S7, 18.4R2, 19.1R1-S4, 19.1R2, 19.2R1, and all subsequent releases.

These issues are being tracked as  1241002 .

Software releases or updates are available for download at https://support.juniper.net/support/downloads/

Workaround

There are no viable workarounds for these issues.

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

2021-04-14: Initial Publication.

Related Information