{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31372","id":"CVE-2021-31372","title":"Junos OS: J-Web allows a locally authenticated attacker to escalate their privileges to root.","description":"An Improper Input Validation vulnerability in J-Web of Juniper Networks Junos OS allows a locally authenticated J-Web attacker to escalate their privileges to root over the target device. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R3-S","descriptionLong":"An Improper Input Validation vulnerability in J-Web of Juniper Networks Junos OS allows a locally authenticated J-Web attacker to escalate their privileges to root over the target device. This issue affects: Juniper Networks Junos OS All versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R3-S3; 19.3 versions prior to 19.3R3-S3; 19.4 versions prior to 19.4R3-S5; 20.1 versions prior to 20.1R3-S1; 20.2 versions prior to 20.2R3-S2; 20.3 versions prior to 20.3R3-S1; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2, 21.1R3; 21.2 versions prior to 21.2R1-S1, 21.2R2;","published":"2021-10-19T18:17:06.961Z","updated":"2026-06-17T03:51:39.747Z","reserved":"2021-04-15T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"juniper","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"juniper"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"juniper"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"juniper.net"},{"version":"2.0","score":9,"vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","rating":"critical","source":"NVD"}],"rating":"high","products":["Juniper Networks Junos OS"],"affectedProducts":[{"vendor":"Juniper Networks","product":"Junos OS","defaultStatus":null,"versions":[{"lessThan":"18.3R3-S5","status":"affected","version":"unspecified","versionType":"custom"},{"lessThan":"18.4R3-S9","status":"affected","version":"18.4","versionType":"custom"},{"lessThan":"19.1R3-S6","status":"affected","version":"19.1","versionType":"custom"},{"lessThan":"19.2R3-S3","status":"affected","version":"19.2","versionType":"custom"},{"lessThan":"19.3R3-S3","status":"affected","version":"19.3","versionType":"custom"},{"lessThan":"19.4R3-S5","status":"affected","version":"19.4","versionType":"custom"},{"lessThan":"20.1R3-S1","status":"affected","version":"20.1","versionType":"custom"},{"lessThan":"20.2R3-S2","status":"affected","version":"20.2","versionType":"custom"},{"lessThan":"20.3R3-S1","status":"affected","version":"20.3","versionType":"custom"},{"lessThan":"20.4R3","status":"affected","version":"20.4","versionType":"custom"},{"lessThan":"21.1R2, 21.1R3","status":"affected","version":"21.1","versionType":"custom"},{"lessThan":"21.2R1-S1, 21.2R2","status":"affected","version":"21.2","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-20"],"aliases":[],"references":[{"url":"https://kb.juniper.net/JSA11237","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01229,"epssPercentile":0.69505,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31372","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31372","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31372","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31372","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["juniper"],"critical":[],"attention":null}