SecurityContext

CVE-2022-22156: Juniper Networks Junos OS - Improper Certificate Validation

  • Cve: CVE-2022-22156
  • Name: Juniper Networks Junos OS - Improper Certificate Validation
  • Description: An Improper Certificate Validation weakness in the Juniper Networks Junos OS allows an attacker to perform Person-in-the-Middle (PitM) attacks when a system script is fetched from a remote source at a specified HTTPS URL, which may compromise the integrity and confidentiality of the device. The following command can be executed by an administrator via the CLI to refresh a script from a remote location, which is affected from this vulnerability: >request system scripts refresh-from (commit | event | extension-service | op | snmp) file filename url <https-url> This issue affects: Juniper Networks Junos OS All versions prior to 18.4R2-S9, 18.4R3-S9; 19.1 versions prior to 19.1R2-S3, 19.1R3-S7; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R3-S4; 19.4 versions prior to 19.4R3-S7; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R3; 20.3 versions prior to 20.3R2-S1, 20.3R3; 20.4 versions prior to 20.4R2; 21.1 versions prior to 21.1R1-S1, 21.1R2.
  • Impact: Attackers can perform man-in-the-middle attacks, potentially leading to data interception, modification, or device compromise.
  • Remediation: Update to Junos OS 18.4R2-S9 or later versions, or apply the latest security patches.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: man_in_the_middle, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.4
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00568
  • Epss percentile: 0.47985
  • Assignee: [email protected]
  • Published at: 2022-01-19T01:15:08Z
  • Age in days: 1770
  • Modified at: 2026-06-17T04:27:52Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-22156
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-295Improper Certificate Validation

Public exploits

UrlSourceAdded date
https://kb.juniper.net/JSA11264nvd2022-01-19

References

UrlSourceTags
https://kb.juniper.net/JSA11264nvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
juniper:junos= 21.1 r1, = 20.4 r1, = 20.4 r1-s1, = 20.3 r1, = 20.3 r1-s1, = 20.3 r2, = 20.2 r1, = 20.2 r1-s1, = 20.2 r1-s2, = 20.2 r1-s3, = 20.2 r2, = 20.2 r2-s1, = 20.2 r2-s2, = 20.2 r2-s3, = 20.1 r1, = 20.1 r1-s1, = 20.1 r1-s2, = 20.1 r1-s3, = 20.1 r1-s4, = 20.1 r2, = 20.1 r2-s1, = 19.4 r1, = 19.4 r1-s1, = 19.4 r1-s2, = 19.4 r1-s3, = 19.4 r1-s4, = 19.4 r2, = 19.4 r2-s1, = 19.4 r2-s2, = 19.4 r2-s3, = 19.4 r2-s4, = 19.4 r2-s5, = 19.4 r3, = 19.4 r3-s1, = 19.4 r3-s2, = 19.4 r3-s3, = 19.4 r3-s4, = 19.4 r3-s5, = 19.4 r3-s6, = 19.3, = 19.3 r1, = 19.3 r1-s1, = 19.3 r2, = 19.3 r2-s1, = 19.3 r2-s2, = 19.3 r2-s3, = 19.3 r2-s4, = 19.3 r2-s5, = 19.3 r2-s6, = 19.3 r3, = 19.3 r3-s1, = 19.3 r3-s2, = 19.3 r3-s3, = 19.2, = 19.2 r1, = 19.2 r1-s1, = 19.2 r1-s2, = 19.2 r1-s3, = 19.2 r1-s4, = 19.2 r1-s5, = 19.2 r1-s6, = 19.2 r2, = 19.2 r2-s1, = 19.2 r3, = 19.2 r3-s1, = 19.2 r3-s2, = 19.1, = 19.1 r1, = 19.1 r1-s1, = 19.1 r1-s2, = 19.1 r1-s3, = 19.1 r1-s4, = 19.1 r1-s5, = 19.1 r1-s6, = 19.1 r2, = 19.1 r2-s1, = 19.1 r2-s2, = 19.1 r3, = 19.1 r3-s1, = 19.1 r3-s2, = 19.1 r3-s3, = 19.1 r3-s4, = 19.1 r3-s5, = 19.1 r3-s6, = 18.4, = 18.4 r1, = 18.4 r1-s1, = 18.4 r1-s2, = 18.4 r1-s3, = 18.4 r1-s4, = 18.4 r1-s5, = 18.4 r1-s6, = 18.4 r1-s7, = 18.4 r2, = 18.4 r2-s1, = 18.4 r2-s2, = 18.4 r2-s3, = 18.4 r2-s4, = 18.4 r2-s5, = 18.4 r2-s6, = 18.4 r2-s7, = 18.4 r2-s8, = 18.4 r3, = 18.4 r3-s1, = 18.4 r3-s2, = 18.4 r3-s3, = 18.4 r3-s4, = 18.4 r3-s5, = 18.4 r3-s6, = 18.4 r3-s7, = 18.4 r3-s8, <= 18.3nonvd/v1/products/juniper/junos

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-01-19
  • Remote: yes
  • Exposed hosts: 23086
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports