Security Resilience

CVE-2023-36842

Juniper Junos ≤ 20.4

Published
12 January 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0029 22th percentile
Risk Priority 49 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-36842 is a medium-severity Improper Check or Handling of Exceptional Conditions (CWE-703) vulnerability in Juniper Junos. Its CVSS base score is 6.5 (Medium).

Operationally, ranked at the 22th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-24 (Fail in Known State) and SI-17 (Fail-safe Procedures) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An Improper Check for Unusual or Exceptional Conditions vulnerability in Juniper DHCP Daemon (jdhcpd) of Juniper Networks Junos OS allows an adjacent, unauthenticated attacker to cause the jdhcpd to consume all the CPU cycles resulting in a Denial of Service…

more

(DoS). On Junos OS devices with forward-snooped-client configured, if an attacker sends a specific DHCP packet to a non-configured interface, this will cause an infinite loop. The DHCP process will have to be restarted to recover the service. This issue affects: Juniper Networks Junos OS * All versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S2; * 22.4 versions earlier than 22.4R2-S2, 22.4R3; * 23.2 versions earlier than 23.2R2.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-52948Same product: Juniper Junos
CVE-2026-0203Same product: Juniper Junos
CVE-2023-22391Same product: Juniper Junos
CVE-2024-30397Same product: Juniper Junos
CVE-2024-21591Same product: Juniper Junos
CVE-2023-28975Same product: Juniper Junos
CVE-2025-52983Same product: Juniper Junos
CVE-2024-21601Same product: Juniper Junos
CVE-2024-21597Same product: Juniper Junos
CVE-2025-21601Same product: Juniper Junos

Affected Assets

juniper
junos
20.4, 21.2, 21.3, 21.4, 22.1 · ≤ 20.4

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Enforces failure to a known state while preserving required properties, limiting impact of unhandled exceptions.

Mandates explicit fail-safe procedures triggered by indicated failures, structurally preventing unhandled exceptional conditions.

Requires application of security engineering principles that include robust exception and error handling during design.

Requires generation of safe, actionable error messages that directly addresses proper handling of exceptional conditions.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's combined programme (SAST, code review, penetration testing) reaches most CWE-703 instances: static analysis has well-developed checkers for unchecked return values, missing null checks, and overly broad exception handlers (the demonstrative examples), and code review catches error-handling omissions in first-party source. The remainder is bounded and nameable — architectural error-handling decisions, rare exceptional conditions that do not surface under testing, and error-path logic that requires understanding business context rather than pattern matching.

prevents

Awareness and technical training can teach developers to check return values and handle exceptions, reducing the introduction of CWE-703 flaws, but human fallibility and the breadth of exceptional-condition cases leave most instances not reliably prevented.

finds

Monitoring can surface unhandled exceptions but does not enforce proper handling.

prevents

A.8.28 mandates secure coding practices that directly address exception handling (return-value checks, specific exception types, edge-case handling) and explicitly requires analysis of common programming errors, so a system under the clause sees fewer improper-exception-handling defects; but the clause mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances the practice does not reach.

finds

A.8.8's reach is DISCLOSURE — it sees only vendor-published flaws. CWE-703 is a broad Pillar class whose instances are mostly application-specific exception-handling defects that rarely surface as CVEs; the minority that do (e.g. CVE-2022-22224 OSPF TLV handling, the cryptocurrency library chain) are caught by A.8.8's scanning and advisory monitoring, but the bulk of CWE-703 instances live in first-party code and are discovered only by source-reading or runtime testing, which A.8.8 does not perform.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-703, a pillar-level weakness, and none of its children carries one either.
  • No fine-grained STIG row for CWE-755, a class-level weakness. Rules are authored against its narrower children: CWE-274, CWE-280, CWE-333.

References