Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow (Juniper Networks Junos OS)

CVE-2024-39556
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.09 % · centile 1 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
juniper
Statut NVD
Analyzed

Description

A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Service (DoS) or privileged code execution. By exploiting the 'set security certificates' command with a crafted certificate file, a malicious attacker with access to the CLI could cause a crash of the command management daemon (mgd), limited to the local user's command interpreter, or potentially trigger a stack-based buffer overflow. This issue affects:  Junos OS: * All versions before 21.4R3-S7, * from 22.1 before 22.1R3-S6, * from 22.2 before 22.2R3-S4, * from 22.3 before 22.3R3-S3, * from 22.4 before 22.4R3-S2, * from 23.2 before 23.2R2, * from 23.4 before 23.4R1-S1, 23.4R2;  Junos OS Evolved: * All versions before 21.4R3-S7-EVO, * from 22.1-EVO before 22.1R3-S6-EVO, * from 22.2-EVO before 22.2R3-S4-EVO, * from 22.3-EVO before 22.3R3-S3-EVO, * from 22.4-EVO before 22.4R3-S2-EVO, * from 23.2-EVO before 23.2R2-EVO, * from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO.

Faiblesses (CWE)

  • CWE-121 — Débordement de tampon sur la pile
  • CWE-787 — Écriture hors limites

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:Hjuniper
CVSS 4.0HIGH 7.1CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:Njuniper
CVSS 4.0HIGH 7.1CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · sirt@juniper.net (Secondary)
CVSS 3.1MEDIUM 6.4CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:HNVD · sirt@juniper.net (Secondary)
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Juniper Networks · Junos OSaffected 0 < 21.4R3-S7 ; affected 22.1 < 22.1R3-S6 ; affected 22.2 < 22.2R3-S4 ; affected 22.3 < 22.3R3-S3 ; affected 22.4 < 22.4R3-S2 ; affected 23.2 < 23.2R2
Juniper Networks · Junos OS Evolvedaffected 0 < 21.4R3-S7-EVO ; affected 22.1-EVO < 22.1R3-S6-EVO ; affected 22.2-EVO < 22.2R3-S4-EVO ; affected 22.3-EVO < 22.3R3-S3-EVO ; affected 22.4-EVO < 22.4R3-S2-EVO ; affected 23.2-EVO < 23.2R2-EVO

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD