Security Resilience

CVE-2023-36831

Juniper Junos 22.2 … 22.4

Published
14 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0063 51th percentile
Risk Priority 58 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-36831 is a high-severity Improper Check or Handling of Exceptional Conditions (CWE-703) vulnerability in Juniper Junos. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 49% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

An Improper Check or Handling of Exceptional Conditions vulnerability in the UTM (Unified Threat Management) Web-Filtering feature of Juniper Networks Junos OS on SRX Series causes a jbuf memory leak to occur when accessing certain websites, eventually leading to a…

more

Denial of Service (DoS) condition. Service restoration is only possible by rebooting the system. The jbuf memory leak only occurs in SSL Proxy and UTM Web-Filtering configurations. Other products, platforms, and configurations are not affected by this vulnerability. This issue affects Juniper Networks Junos OS on SRX Series: 22.2 versions prior to 22.2R3; 22.3 versions prior to 22.3R2-S1, 22.3R3; 22.4 versions prior to 22.4R1-S2, 22.4R2. This issue does not affect Juniper Networks Junos OS versions prior to 22.2R2.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-36838Same product: Juniper Junos
CVE-2023-36845Same product: Juniper Junos
CVE-2023-22411Same product: Juniper Junos
CVE-2023-36846Same product: Juniper Junos
CVE-2023-22417Same product: Juniper Junos
CVE-2023-28968Same product: Juniper Junos
CVE-2024-21606Same product: Juniper Junos
CVE-2024-39529Same product: Juniper Junos
CVE-2024-39540Same product: Juniper Junos
CVE-2024-30391Same product: Juniper Junos

Affected Assets

juniper
junos
22.2, 22.3, 22.4

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-703

Implements explicit check and handling for the exceptional condition of audit logging process failure.

addresses: CWE-703

Establishing and monitoring system metrics with correlation and response actions helps identify and address improper handling of exceptional conditions.

addresses: CWE-703

Provides a defined response to detected conditions by restricting operation, ensuring exceptional conditions are handled rather than ignored or mishandled.

addresses: CWE-703

Contingency training equips users with defined procedures to check and respond to exceptional conditions during disruptions, reducing exploitation of mishandled errors.

addresses: CWE-703

Testing verifies the system's ability to detect, handle, and recover from exceptional conditions as part of the plan, reducing exploitability of improper exception handling.

addresses: CWE-703

Regular updates keep contingency procedures aligned with system changes, providing structured handling for exceptional conditions that would otherwise allow unmitigated exploitation.

addresses: CWE-703

Policy defines checks and handling for exceptional conditions arising from security incidents.

addresses: CWE-703

Performing IR tests ensures exceptional conditions are properly checked and handled to enable effective response.

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.

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.

References