{"id":"CVE-2021-0256","aliases":["CVE-2021-0256"],"related":[],"kind":"vulnerability","state":"published","title":"Junos OS: mosquitto Local Privilege Escalation vulnerability in SUID binaries","summary":"A sensitive information disclosure vulnerability in the mosquitto message broker of Juniper Networks Junos OS may allow a locally authenticated user with shell access the ability to read portions of sensitive files, such as the master.passwd file. Since mosquitto is shipped with setuid permissions enabled and is owned by the root user, this vulnerability may allow a local privileged user the ability to run mosquitto with root privileges and access sensitive information stored on the local filesystem. This issue affects Juniper Networks Junos OS: 17.3 versions prior to 17.3R3-S12, 17.4 versions prior to 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.3 versions prior to 18.3R3-S4; 19.1 versions prior to 19.1R3-S4; 19.3 versions prior to 19.3R3-S1, 19.3R3-S2; 19.4 versions prior to 19.4R2-S3; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S3, 20.2R2, 20.2R3.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A sensitive information disclosure vulnerability in the mosquitto message broker of Juniper Networks Junos OS may allow a locally authenticated user with shell access the ability to read portions of sensitive files, such as the master.passwd file. Since mosquitto is shipped with setuid permissions enabled and is owned by the root user, this vulnerability may allow a local privileged user the ability to run mosquitto with root privileges and access sensitive information stored on the local filesystem. This issue affects Juniper Networks Junos OS: 17.3 versions prior to 17.3R3-S12, 17.4 versions prior to 17.4R3-S4; 18.1 versions prior to 18.1R3-S12; 18.3 versions prior to 18.3R3-S4; 19.1 versions prior to 19.1R3-S4; 19.3 versions prior to 19.3R3-S1, 19.3R3-S2; 19.4 versions prior to 19.4R2-S3; 20.1 versions prior to 20.1R2; 20.2 versions prior to 20.2R1-S3, 20.2R2, 20.2R3.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad de divulgación de información confidencial en el broker de mensajes mosquitto de Juniper Networks Junos OS, puede permitir a un usuario autenticado localmente con acceso de shell la habilidad de leer partes de archivos confidenciales, tal y como el archivo master.passwd.&#xa0;Desde que mosquitto es enviado con permisos setuid habilitados y es propiedad del usuario root, esta vulnerabilidad puede permitir a un usuario privilegiado local la habilidad ejecutar mosquitto con privilegios de root y acceder a información confidencial almacenada en el sistema de archivos local.&#xa0;Este problema afecta a Junos de Juniper Networks OS: versiones 17.3 anteriores a 17.3R3-S12, versiones 17.4 anteriores a 17.4R3-S4;&#xa0;versiones 18.1 anteriores a 18.1R3-S12;&#xa0;versiones 18.3 anteriores a 18.3R3-S4;&#xa0;versiones 19.1 anteriores a 19.1R3-S4;&#xa0;versiones 19.3 anteriores a 19.3R3-S1, 19.3R3-S2;&#xa0;19.4 versiones anteriores a 19.4R2-S3;&#xa0;versiones 20.1 anteriores a 20.1R2;&#xa0;20.2 versiones anteriores a la 20","source":"nvd"}],"published":"2021-04-22T19:37:16.754Z","modified":"2026-06-17T03:29:37.533Z","severity":{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"juniper","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-250","CWE-269"],"affected":[{"ranges":[{"type":"custom","introduced":"17.3","fixed":"17.3R3-S12","status":"affected"},{"type":"custom","introduced":"17.4","fixed":"17.4R3-S4","status":"affected"},{"type":"custom","introduced":"18.1","fixed":"18.1R3-S12","status":"affected"},{"type":"custom","introduced":"18.3","fixed":"18.3R3-S4","status":"affected"},{"type":"custom","introduced":"19.1","fixed":"19.1R3-S4","status":"affected"},{"type":"custom","introduced":"19.3","fixed":"19.3R3-S1, 19.3R3-S2","status":"affected"},{"type":"custom","introduced":"19.4","fixed":"19.4R2-S3","status":"affected"},{"type":"custom","introduced":"20.1","fixed":"20.1R2","status":"affected"},{"type":"custom","introduced":"20.2","fixed":"20.2R1-S3, 20.2R2, 20.2R3","status":"affected"}],"vendor":"Juniper Networks","product":"Junos OS","source":"cvelist"},{"ranges":[{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.3"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"17.4"},{"status":"affected","version":"18.1"}],"vendor":"juniper","product":"junos","cpe":"cpe:2.3:o:juniper:junos:17.3:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://kb.juniper.net/JSA11175","tags":["vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Juniper SIRT would like to acknowledge and thank Hoàng Thạch Nguyễn (d4rkn3ss) of STAR Labs for responsibly reporting this vulnerability."],"assigner":"juniper","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-0256","url":"https://www.cve.org/CVERecord?id=CVE-2021-0256","licence":"CVE Terms of Use","modified":"2024-09-16T19:10:10.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-0256","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-0256","licence":"Public domain","modified":"2026-06-17T03:29:37.533Z"}],"updatedAt":"2026-11-25T22:58:00.919Z","epss":{"score":0.00216,"percentile":0.12783,"date":"2026-12-01T12:00:22.000Z"}}