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

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

                               ESB-2021.3417
 JSA11218 - 2021-10 Security Bulletin: Junos OS and Junos OS Evolved: RPD
         core upon receipt of specific BGP update (CVE-2021-31353)
                              15 October 2021

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

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

Product:           Junos OS
                   Junos OS Evolved
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2021-31353  

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

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

2021-10 Security Bulletin: Junos OS and Junos OS Evolved: RPD core upon receipt of specific BGP update (CVE-2021-31353)

Article ID  : JSA11218
Last Updated: 13 Oct 2021
Version     : 1.0

Product Affected:
This issue affects specific versions of Junos OS and Junos OS Evolved (see
below).
Problem:

An Improper Handling of Exceptional Conditions vulnerability in Juniper
Networks Junos OS and Junos OS Evolved allows an attacker to inject a specific
BGP update, causing the routing protocol daemon (RPD) to crash and restart,
leading to a Denial of Service (DoS).

Continued receipt and processing of the BGP update will create a sustained
Denial of Service (DoS) condition.

This issue affects very specific versions of Juniper Networks Junos OS:

  o 19.3R3-S2;
  o 19.4R3-S3;
  o 20.2 versions 20.2R2-S3 and later, prior to 20.2R3-S2;
  o 20.3 versions 20.3R2 and later, prior to 20.3R3;
  o 20.4 versions 20.4R2 and later, prior to 20.4R3;
  o 21.1 versions prior to 21.1R2.

Juniper Networks Junos OS 20.1 is not affected by this issue.

This issue also affects Juniper Networks Junos OS Evolved:

  o All versions prior to 20.4R2-S3-EVO, 20.4R3-EVO;
  o 21.1-EVO versions prior to 21.1R2-EVO;
  o 21.2-EVO versions prior to 21.2R2-EVO.

This issue can occur when multipath is enabled:

routing-instance <vrf> routing-options multipath

and one of the following two TTL propagation options (but not both) are
enabled:

protocols mpls no-propagate-ttl
routing-instance <vrf> no-vrf-propagate-ttl

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

This issue was seen during production usage.

This issue has been assigned CVE-2021-31353 .

Solution:

The following software releases have been updated to resolve this specific
issue:

Junos OS 18.4R2-S9, 19.1R3-S7, 19.3R3-S3, 19.4R1-S4, 19.4R3-S4, 20.1R3,
20.2R3-S2, 20.3R3, 20.4R3, 21.1R2, 21.2R1, 21.2R2, 21.3R1, and all subsequent
releases.

Junos OS Evolved 20.4R2-S3-EVO, 20.4R3-EVO, 21.1R2-EVO, 21.2R2-EVO, 21.3R1-EVO,
and all subsequent releases.

Note: Only those releases listed in the PROBLEM section above are affected.
This fix has also been proactively committed into other releases that are not
vulnerable to this issue.

This issue is being tracked as 1595165 .

Workaround:

This issue can be mitigated in two ways:

 1. ensure that TTL propagation is either enabled or disabled in both places
    below:
    protocols mpls no-propagate-ttl
    routing-instance <vrf> no-vrf-propagate-ttl
 2. Disable multipath:
    routing-instance <vrf> routing-options multipath

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

2021-10-13: Initial Publication.

CVSS Score:
7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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."

- --------------------------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

iQIVAwUBYWjh9eNLKJtyKPYoAQhoTA/7BD1l0rgn+HvjswN+jnri+ejlTM9Cf+DM
7uQlO+KKb6xishpFBP2gtYpPHFKOLOJT3MIhTF29RBcZBgwznSsXa3+aSQ9n2phR
VAZFO0gYsRNXRtycDFW2pRGPeRueNb6x8vQSeCIMt7xRfnF1x5yrKJj03Ji7DUES
iLppHtu9se91BoTdJzn85yaayG/ssK77opV+j1UcuvnK0MxBR7n95v9xz4dIGmGS
KGxP0FTVSQZiyLbI8CCi5Lt0oBz7hHQ2MamUCwZwypxwtOtzELBTZfid+oSXh5qt
y+H06CD+aAFVIF2lRAYUaZ6RTD7Bss9mKUCo+7G0hLPwJJVmuLlo5aPx8JjIB5Hy
RQchUNUX5QECyLKntPcy8WJFMCoKRr0wlwor42q33t7+2iOmJ0mh7gpbcIFhbCcL
1K5GGpqk31JszqfRfmS1uhrRQsExPrSyoo1zeOm7ljIS0jO3JVkWCfqJCfOx7ySu
Ec6kJZJ3QvZvNunIY3WOWgVWFmi3d9wZnESI9CMOc1OHiChI7LozQq9nNtSL4Wc+
54Zfu+Sy3dDyF7AigaIK8oD5ZAIq+1YE0tBNeZ4oO+LYM+pVOnV7hxnmdznmh8Zc
0Sy3oOninab912Ce6pxTqDKryY9pcfLLmQaigBsK9xCqWdWTVte16NHjQcgIiUKd
++NkZkRpwLI=
=3UKm
-----END PGP SIGNATURE-----