-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2021.0177.2
       JSA11094 and JSA11114 - 2021-01 Security Bulletins: Junos OS
                              19 January 2021

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Junos OS
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Root Compromise                 -- Existing Account      
                   Execute Arbitrary Code/Commands -- Existing Account      
                   Denial of Service               -- Remote/Unauthenticated
                   Access Confidential Data        -- Existing Account      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-0223 CVE-2021-0222 CVE-2021-0204

Original Bulletin: 
   http://kb.juniper.net/InfoCenter/index?page=content&id=JSA11094
   http://kb.juniper.net/InfoCenter/index?page=content&id=JSA11114

Revision History:  January 19 2021: Vendor issues minor update
                   January 15 2021: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

2021-01 Security Bulletin: Junos OS: Upon receipt of certain protocol packets with invalid payloads a self-propagating Denial of Service may occur. (CVE-2021-0222)

Article ID  : JSA11094
Last Updated: 18 Jan 2021
Version     : 3.0

Product Affected:
This issue affects Junos OS 14.1X53, 15.1, 16.1, 17.1, 17.2, 17.3, 17.4, 18.1,
18.2, 18.3, 18.4, 19.1, 19.2, 19.3. Affected platforms: EX2300, EX3400, EX4300,
EX4600, EX4650, QFX3500, QFX5100, QFX5110, QFX5120, QFX5200, QFX5210.
Problem:

A vulnerability in Juniper Networks Junos OS allows an attacker to cause a
Denial of Service (DoS) to the device by sending certain crafted protocol
packets from an adjacent device with invalid payloads to the device.

These crafted packets, which should be discarded, are instead replicated and
sent to the RE. Over time, a Denial of Service (DoS) occurs. Continued receipt
of these crafted protocol packets will cause an extended Denial of Service
(DoS) condition, which may cause wider traffic impact due to protocol flapping.

An indication of compromise is to check "monitor interface traffic" on the
ingress and egress port packet counts. For each ingress packet, two duplicate
packets are seen on egress.

This issue can be triggered by IPv4 and IPv6 packets.

This issue affects all traffic through the device.

This issue affects:

Juniper Networks Junos OS:

  o 14.1X53 versions prior to 14.1X53-D53 on EX4300, QFX3500, QFX5100, EX4600;
  o 15.1 versions prior to 15.1R7-S6 on EX4300, QFX3500, QFX5100, EX4600;
  o 16.1 versions prior to 16.1R7-S7 on EX4300, QFX5100, EX4600;
  o 17.1 versions prior to 17.1R2-S11 on EX4300, QFX5100, EX4600;
  o 17.1 versions prior to 17.1R3-S2 on EX4300;
  o 17.2 versions prior to 17.2R1-S9 on EX4300;
  o 17.2 versions prior to 17.2R3-S3 on EX4300, QFX5100, EX4600, QFX5110,
    QFX5200;
  o 17.3 versions prior to 17.3R2-S5, 17.3R3-S7 on EX4300, QFX5100, EX4600,
    QFX5110, QFX5200;
  o 17.4 versions prior to 17.4R2-S9, 17.4R3 on EX4300, QFX5100, EX4600,
    QFX5110, QFX5200;
  o 18.1 versions prior to 18.1R3-S9 on EX4300, QFX5100, EX4600, QFX5110,
    QFX5200, QFX5210, EX2300, EX3400;
  o 18.2 versions prior to 18.2R2-S7 on EX4300;
  o 18.2 versions prior to 18.2R3-S3 on EX4300, QFX5100, EX4600, QFX5110,
    QFX5200, QFX5210, EX2300, EX3400;
  o 18.3 versions prior to 18.3R2-S3, on EX4300;
  o 18.3 versions prior to 18.3R1-S7, 18.3R3-S1 on EX4300, QFX5100, EX4600,
    QFX5110, QFX5200, QFX5210, QFX5120, EX4650, EX2300, EX3400;
  o 18.4 versions prior to 18.4R1-S5, 18.4R2-S3, 18.4R3 on EX4300, QFX5100,
    EX4600, QFX5110, QFX5200, QFX5210, QFX5120, EX4650, EX2300, EX3400;
  o 19.1 versions prior to 19.1R1-S4, 19.1R2-S1, 19.1R3 on EX4300, QFX5100,
    EX4600, QFX5110, QFX5200, QFX5210, QFX5120, EX4650, EX2300, EX3400;
  o 19.2 versions prior to 19.2R1-S4, 19.2R2 on EX4300;
  o 19.2 versions prior to 19.2R1-S3, 19.2R2 on QFX5100, EX4600, QFX5110,
    QFX5200, QFX5210, QFX5120, EX4650, EX2300, EX3400;
  o 19.3 versions prior to 19.3R2-S1, 19.3R3 on EX4300;
  o 19.3 versions prior to 19.3R1-S1, 19.3R2, 19.3R3 on QFX5100, EX4600,
    QFX5110, QFX5200, QFX5210, QFX5120, EX4650, EX2300, EX3400;

This issue was seen during production usage.

This issue has been assigned CVE-2021-0222 .

Solution:

The following software releases have been updated to resolve this specific
issue: 14.1X53-D53, 15.1R7-S6, 16.1R7-S7, 17.1R2-S11, 17.2R3-S3, 17.3R2-S5,
17.3R3-S7, 17.4R2-S9, 17.4R3, 18.1R3-S9, 18.2R3-S3, 18.4R1-S5, 18.4R2-S3,
18.4R3, 19.1R1-S4, 19.1R2-S1, 19.1R3, 19.2R2, 19.3R2-S1, 19.3R3, 19.4R1, and
all subsequent releases.

This issue is being tracked as 1472704 and 1471922 .

Workaround:
There are no available workarounds for this issue.
Implementation:
Software releases or updates are available for download at https://
www.juniper.net/support/downloads/ .
Modification History:
2021-01-13: Initial Publication.
2021-01-18: Additional letter 1 from 117 to 17 removed from version list.
CVSS Score:
7.4 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H)
Severity Level:
High
Severity Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common
Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."


- --------------------------------------------------------------------------------

2021-01 Security Bulletin: Junos OS: Multiple Local Privilege Escalation vulnerabilities in SUID binaries

Article ID  : JSA11114
Last Updated: 14 Jan 2021
Version     : 3.0

Product Affected:
This issue affects all versions of Junos OS.
Problem:

Multiple local privilege escalation vulnerabilities in Juniper Networks Junos
OS have been reported due to the setuid bit being enabled on multiple binaries.
These binaries will run as the owner of the executable (typically "root") and
inherit their privileges. Hence these binary files can be used to escalate
privileges to disclose sensitive information or execute arbitrary command as
root.

This issue affects Juniper Networks Junos OS:

  o all versions prior to 15.1R7-S9;
  o 17.3 versions prior to 17.3R3-S11;
  o 17.4 versions prior to 17.4R2-S12, 17.4R3-S3;
  o 18.1 versions prior to 18.1R3-S11;
  o 18.2 versions prior to 18.2R3-S6;
  o 18.3 versions prior to 18.3R3-S4;
  o 18.4 versions prior to 18.4R2-S7, 18.4R3-S6;
  o 19.1 versions prior to 19.1R2-S2, 19.1R3-S4;
  o 19.2 versions prior to 19.2R1-S6, 19.2R3-S1;
  o 19.3 versions prior to 19.3R3-S1;
  o 19.4 versions prior to 19.4R2-S2, 19.4R3-S1;
  o 20.1 versions prior to 20.1R1-S4, 20.1R2;
  o 20.2 versions prior to 20.2R2.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue was discovered during a external security research.

The following vulnerabilities have been resolved in the releases listed below:

     CVE                CVSS                            Summary
              7.8 ( CVSS:3.1/AV:L/AC:L/ Junos OS: telnetd.real Local Privilege
CVE-2021-0223 PR:L/UI:N/S:U/C:H/I:H/A:H Escalation vulnerabilities in SUID
              )                         binaries
              7.8 ( CVSS:3.1/AV:L/AC:L/ Junos OS: dexp Local Privilege
CVE-2021-0204 PR:L/UI:N/S:U/C:H/I:H/A:H Escalation vulnerabilities in SUID
              )                         binaries

Solution:

The following software releases have been updated to resolve these specific
issues: Junos OS 15.1R7-S9*, 17.3R3-S11*, 17.4R2-S12, 17.4R3-S3, 18.1R3-S11,
18.2R3-S6, 18.3R3-S4, 18.4R2-S7, 18.4R3-S6, 19.1R2-S2, 19.1R3-S4, 19.2R1-S6,
19.2R3-S1, 19.3R3-S1, 19.4R2-S2, 19.4R3-S1, 20.1R1-S4, 20.1R2, 20.2R2, 20.3R1,
and all subsequent releases.

This issue is being tracked as 1525318 and 1529210 .

*Late availability

Workaround:

Use access lists or firewall filters to limit CLI access to the device only
from trusted, administrative networks or hosts.

Limit access to the Junos OS shell to only trusted system administrators.

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

2021-01-13: Initial Publication.
2021-01-14: Added 15.1R7-S9 (late availability).

CVSS Score:
7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Severity Level:
High
Severity Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common
Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."
Acknowledgements:
Juniper SIRT would like to acknowledge and thank Hoang Thach Nguyen (d4rkn3ss)
of STAR Labs for responsibly reporting this vulnerability.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYAYb0eNLKJtyKPYoAQgJ0A//VGV0619Vy0MlfQARYmY7+3RFThXLMedn
lZob/3fjGISXl9mYq5gT/XfTZTRXX3m6WDDCKUroHRGFpFF0SVCstjT7qDiBO2w/
LGLi0AXbpdcOqIIfJw969cSFVHZr9Mv5x3vkUpGmow5V/bBBAQCo2rugORWgO33N
vmnPBkY6XeO+LPXxealVnEYNxVb5Fz0JDKk6MCIZnq3Un3y3uXhzCtpDJIq6ukuY
R4fIaL/efjme4/RFbymExVyxme18/8iW+56tlx2h66gVGi4tavRQ+pGLKMUjEyCX
5ONsMDLl77r6Hg9V2Yi1jtBMmNEpBnhigGBl8ROY24Ukwc5Hj+TUceuoBuvXemGU
+aRU5zetUYcTephXkFVJBgVDWsY9vnKJOoEmWRYXiwK1QNuoItzKMlMC9P1qQwIU
XQCBYQeXMY7l9WN3D9wf2ySuUK4VaeSoAG8mIeyQZjIaAMj+z2BryfJgYNr8w8RB
0N7I82Dt5s5VDwezerr9tQTgKA4wfM6WFQbMA1qjmcAjcVJAQy9wGM9BLJ1CD2+1
aRIhWLS/o1Oc0+XyQ/MZ0Uo2xNFXfU07geKOeSMt8RUGdsXR4mzTbsPjsW+VXHLV
W4v3plt2AF/jX0p4kXgENlG0rLSU0GE6p6fg1ZRWCbF5lr6AdKidp/XzFWIjYqIg
vCVESKydaw4=
=Y9y5
-----END PGP SIGNATURE-----