Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

2020-10 Security Bulletin: FreeBSD-SA-19:20.bsnmp : Insufficient message length validation in bsnmp library (CVE-2019-5610)

0

0

Article ID: JSA11047 SECURITY_ADVISORIES Last Updated: 14 Oct 2020Version: 1.0
Product Affected:
This issue affects Junos OS 15.1, 16.1, 17.2, 17.2X75, 17.3, 17.4, 18.1, 18.2, 18.2X75, 18.3, 18.4, 19.1, 19.2, 19.3.
Problem:

The bsnmp software library is a SNMP (Simple Network Management Protocol) implementation included with Juniper Networks Junos OS for the snmpd process.

A programming error allows a remote user to read unrelated data or trigger a snmpd process crash.
 

This issue affects Juniper Networks Junos OS

  • 15.1 versions prior to 15.1R7-S7;
  • 16.1 versions prior to 16.1R7-S8;
  • 17.2 versions prior to 17.2R3-S4;
  • 17.2X75 versions prior to 17.2X75-D45;
  • 17.3 versions prior to 17.3R3-S8;
  • 17.4 versions prior to 17.4R2-S12, 17.4R3-S3;
  • 18.1 versions prior to 18.1R3-S9;
  • 18.2 versions prior to 18.2R3-S6;
  • 18.2X75 versions prior to 18.2X75-D34, 18.2X75-D420, 18.2X75-D53, 18.2X75-D60;
  • 18.3 versions prior to 18.3R2-S3, 18.3R3-S1;
  • 18.4 versions prior to 18.4R1-S5, 18.4R2-S5, 18.4R3;
  • 19.1 versions prior to 19.1R1-S4, 19.1R2-S2, 19.1R3;
  • 19.2 versions prior to 19.2R1-S5, 19.2R2;
  • 19.3 versions prior to 19.3R2.

This issue does not affect Junos OS with FreeBSD 6, for example Junos OS 15.1X49.
 

To verifiy which FreeBSD version is used in Junos OS, the administrator can use the following commands:

user&device> start shell
% sysctl kern.osreldate
kern.osreldate: 601000 <-- start with 6, this is FreeBSD6 base (6.1)
user&device> start shell
% sysctl kern.osreldate
kern.osreldate: 1001510 <-- start with 10, FreeBSD10 base.

Please refer to https://kb.juniper.net/KB31678 for an alternative method to check the FreeBSD version.

The examples of minimum config stanza affected by this issue:

[snmp]

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

This issue has been assigned CVE-2019-5610.

Solution:

The following software releases have been updated to resolve this specific issue: 15.1R7-S7, 16.1R7-S8, 17.2R3-S4, 17.2X75-D45, 17.3R3-S8, 17.4R2-S12, 17.4R3-S3, 18.1R3-S9, 18.2R3-S6, 18.2X75-D34, 18.2X75-D420, 18.2X75-D53, 18.2X75-D60, 18.3R2-S3, 18.3R3-S1, 18.4R1-S5, 18.4R2-S5, 18.4R2-S6, 18.4R3, 19.1R1-S4, 19.1R2-S2, 19.1R3, 19.2R1-S5, 19.2R2, 19.3R2, 19.4R1 and all subsequent releases.

This issue is being tracked as 1453683.

Workaround:
Disable SNMP (disabled by default), utilize edge filtering with source-address validation (uRPF, etc.), access control lists (ACLs), and/or SNMPv3 authentication to limit access to the device only from trusted hosts.
Implementation:
Software releases or updates are available for download at https://www.juniper.net/support/downloads/.
Modification History:
2020-10-14: Initial Publication.
CVSS Score:
6.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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."

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search