Operating System:

[Juniper]

Published:

14 January 2022

Protect yourself against future threats.

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

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

                               ESB-2022.0177
JSA11283 - 2022-01 Security Bulletin: Junos OS and Junos OS Evolved: After
  receiving a specific number of crafted packets snmpd will segmentation
       fault (SIGSEGV) requiring a manual restart. (CVE-2022-22177)
                              14 January 2022

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

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

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

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

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

2022-01 Security Bulletin: Junos OS and Junos OS Evolved: After receiving a specific number of crafted packets snmpd will segmentation fault (SIGSEGV) requiring a manual restart. (CVE-2022-22177)

Article ID  : JSA11283
Last Updated: 13 Jan 2022
Version     : 3.0

Product Affected:
This issue affects Junos OS 12.3, 15.1, 18.3, 18.4, 19.1, 19.2, 19.3, 19.4,
20.1, 20.2, 20.3, 20.4, 21.1, 21.2. This issue affects any Junos OS Evolved
releases prior to 21.2R3-EVO, 21.3.
Problem:
A release of illegal memory vulnerability in the snmpd daemon of Juniper
Networks Junos OS, Junos OS Evolved allows an attacker to halt the snmpd daemon
causing a sustained Denial of Service (DoS) to the service until it is manually
restarted.

This issue impacts any version of SNMP - v1,v2, v3

This issue affects:
Juniper Networks Junos OS

  o 12.3 versions prior to 12.3R12-S20;
  o 15.1 versions prior to 15.1R7-S11;
  o 18.3 versions prior to 18.3R3-S6;
  o 18.4 versions prior to 18.4R2-S9, 18.4R3-S10;
  o 19.1 versions prior to 19.1R2-S3, 19.1R3-S7;
  o 19.2 versions prior to 19.2R1-S8, 19.2R3-S4;
  o 19.3 versions prior to 19.3R3-S4;
  o 19.4 versions prior to 19.4R2-S5, 19.4R3-S6;
  o 20.1 versions prior to 20.1R3-S2;
  o 20.2 versions prior to 20.2R3-S3;
  o 20.3 versions prior to 20.3R3-S1;
  o 20.4 versions prior to 20.4R3;
  o 21.1 versions prior to 21.1R2-S2, 21.1R3;
  o 21.2 versions prior to 21.2R1-S2, 21.2R2.

Juniper Networks Junos OS Evolved

  o 21.2 versions prior to 21.2R3-EVO;
  o 21.3 versions prior to 21.3R2-EVO.

The following minimal configuration is needed:
[snmp community 'community-name"] using a Read Write (RW) Community

Read Only (RO) communities are not impacted by this issue.

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

This issue was discovered during external security research.

This issue has been assigned CVE-2022-22177 .

Solution:

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

Junos OS: 12.3R12-S20, 15.1R7-S11, 18.3R3-S6, 18.4R2-S9, 18.4R3-S10, 19.1R2-S3,
19.1R3-S7, 19.2R1-S8, 19.2R3-S4, 19.3R3-S4, 19.4R2-S5, 19.4R3-S6, 20.1R3-S2,
20.2R3-S3, 20.3R3-S1, 20.4R3, 21.1R2-S2, 21.1R3, 21.2R1-S2, 21.2R2, 21.3R1, and
all subsequent releases.

Junos OS Evolved: 21.2R3-EVO, 21.3R2-EVO, 21.4R1-EVO, and all subsequent
releases.

This issue is being tracked as 1613874 .

Workaround:

There are no workarounds for this issue.

For V1, V2 you can reduce the risk of exploitation by configuring the
client-list to limit access to network management system (NMS) machines.

See the Network Management and Monitoring Guide for further instructions.

example:

[snmp client-list client-list-name "ip-addresses";]

For V3 you can reduce the risk of exploitation by configuring SNMP security to
trusted devices only.

For any release of SNMP you can reduce the risk of exploitation by implementing
source and destination IP filter rules as well as using Read Only communities
where possible.

Regardless of these risk reduction methods, an attacker able to spoof trusted
IP addresses can send the attack to an exposed and reachable SNMP RW community.

Implementation:
Software releases or updates are available for download at https://
support.juniper.net/support/downloads/ .
Modification History:
2022-01-12: Initial Publication.
CVSS Score:
5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Severity Level:
Medium
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:
Nanyu Zhong and Yu Zhang of VARAS at the Institute of Information Engineering

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

iQIVAwUBYeDLceNLKJtyKPYoAQj+Ww/9FGa94WIE91lDy8Wejwe4hvvYyL7kiNQV
ZgfDlzZeD5Mvda7JMXLix36RQbMvCxES0/4l00qGjqjY8Pfa1jM+QWlmoSSejYR2
9LZ1fOsIHeBy0YW96Pt0qab7pYA5nCGAJLQKIi2pauv/gGSzl5+ClagHT+ggXPVn
cHZL7jDf4yL8XUbrn6YPvT6foVMPh9Iup9be8eopAfGT4wZcVgDHTr06lfSNhnpX
1XK+gCRNOmup9DBgjvVd7MAxjGnJzKRE3d4sqnIP2MwduICVLXjNXizpckoVDGCi
KoaaOEhQZLwV9ojg+MPz/jOVrHEpCrB7bjmX/pmsWP10ymgvM9zeQTDaRoH74r7X
yAVD0vzgy/H8hGlgnPpcMHkt33AIttH690R1JD9/niytqVyuLy9+v7O+D7iMt0bv
EISRxVt+ffTyRH71tz/HKw/OpJrGdYu7Ros1Yhq+sDyC9zO3rx+R8uAFA1d+RhAK
MHr5QHgSJb8Fty0PS9rT+9LcS6Y/4EmapylX5mUutTsxk0E++owJ3qBCCDXRd37A
36QoSiVTftcI2SWBt8hEoSgkCjDkdK6etVVTfp9/V+XJiY7uft5EooQmGNpyQ1Kp
XoMTfnc5vt0hpKAXSX9LIATsO5LMGuV69oTKhC9sBWMhyj+IksfVdRUdEePt+oWu
10jVlv3hBvY=
=Npo5
-----END PGP SIGNATURE-----