Junos OS: Kernel memory leak in virtual-memory due to interface flaps (Juniper Networks Junos OS)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.81 % · percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- juniper
- NVD status
- Modified
Description
The kernel memory usage represented as "temp" via 'show system virtual-memory' may constantly increase when Integrated Routing and Bridging (IRB) is configured with multiple underlay physical interfaces, and one interface flaps. This memory leak can affect running daemons (processes), leading to an extended Denial of Service (DoS) condition. Usage of "temp" virtual memory, shown here by a constantly increasing value of outstanding Requests, can be monitored by executing the 'show system virtual-memory' command as shown below: user@junos> show system virtual-memory |match "fpc|type|temp" fpc0: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2023 431K - 10551 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 fpc1: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2020 431K - 6460 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 user@junos> show system virtual-memory |match "fpc|type|temp" fpc0: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2023 431K - 16101 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 fpc1: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2020 431K - 6665 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 user@junos> show system virtual-memory |match "fpc|type|temp" fpc0: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2023 431K - 21867 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 fpc1: -------------------------------------------------------------------------- Type InUse MemUse HighUse Requests Size(s) temp 2020 431K - 6858 16,32,64,128,256,512,1024,2048,4096,65536,262144,1048576,2097152,4194304,8388608 This issue affects Juniper Networks Junos OS: 16.1 versions prior to 16.1R7-S6; 17.1 versions prior to 17.1R2-S11, 17.1R3-S1; 17.2 versions prior to 17.2R2-S8, 17.2R3-S3; 17.2X75 versions prior to 17.2X75-D44; 17.3 versions prior to 17.3R2-S5, 17.3R3-S6; 17.4 versions prior to 17.4R2-S5, 17.4R3; 18.1 versions prior to 18.1R3-S7; 18.2 versions prior to 18.2R2-S5, 18.2R3; 18.2X75 versions prior to 18.2X75-D33, 18.2X75-D411, 18.2X75-D420, 18.2X75-D60; 18.3 versions prior to 18.3R1-S5, 18.3R2-S3, 18.3R3; 18.4 versions prior to 18.4R2-S2, 18.4R3; 19.1 versions prior to 19.1R1-S3, 19.1R2; 19.2 versions prior to 19.2R1-S3, 19.2R2. This issue does not affect Juniper Networks Junos OS 12.3 and 15.1.
Weaknesses (CWE)
- CWE-400 — Uncontrolled Resource Consumption
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | juniper |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · sirt@juniper.net (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | LOW 3.3 | AV:A/AC:L/Au:N/C:N/I:N/A:P | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2020-12493
- GCVE · GCVE-0-2020-1625
CERT-FR advisories
- CERTFR-2020-AVI-198 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:juniper:junos:16.1:-:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r3:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r3-s10:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r3-s11:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4-s12:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4-s2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4-s3:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4-s4:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r4-s6:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r5:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r5-s4:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r6-s1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r6-s6:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r7:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r7-s2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r7-s3:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r7-s4:*:*:*:*:*:*cpe:2.3:o:juniper:junos:16.1:r7-s5:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:-:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s10:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s3:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s4:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s5:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s6:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s7:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s8:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r2-s9:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.1:r3:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.2:-:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.2:r1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.2:r1-s1:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.2:r1-s2:*:*:*:*:*:*cpe:2.3:o:juniper:junos:17.2:r1-s3:*:*:*:*:*:*- +82 more
Affected products
| Product | Versions |
|---|---|
| Juniper Networks · Junos OS | affected 16.1 < 16.1R7-S6 ; affected 17.1 < 17.1R2-S11, 17.1R3-S1 ; affected 17.2 < 17.2R2-S8, 17.2R3-S3 ; affected 17.2X75 < 17.2X75-D44 ; affected 17.3 < 17.3R2-S5, 17.3R3-S6 ; affected 17.4 < 17.4R2-S5, 17.4R3 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |