The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-51074

CVE-2023-51074: Jayway JsonPath Buffer Overflow Flaw

CVE-2023-51074 is a stack overflow vulnerability in Jayway JsonPath v2.8.0 affecting the Criteria.parse() method. This flaw can lead to application crashes or potential code execution. This article covers technical details, affected versions, impact analysis, and mitigation strategies.

Published: February 4, 2026

CVE-2023-51074 Overview

CVE-2023-51074 is a stack overflow vulnerability discovered in json-path v2.8.0. The vulnerability exists in the Criteria.parse() method, which can be exploited to cause a denial of service condition through excessive stack consumption. JsonPath is a widely used Java library for reading JSON documents, making this vulnerability potentially impactful for applications that process untrusted JSON path expressions.

Critical Impact

Applications using the affected version of json-path may be vulnerable to denial of service attacks when processing maliciously crafted input through the Criteria.parse() method.

Affected Products

  • json-path Jayway JsonPath v2.8.0
  • Applications using the vulnerable Criteria.parse() method
  • Java applications processing untrusted JSON path expressions

Discovery Timeline

  • 2023-12-27 - CVE-2023-51074 published to NVD
  • 2025-09-12 - Last updated in NVD database

Technical Details for CVE-2023-51074

Vulnerability Analysis

This vulnerability is classified as a stack overflow, a type of memory corruption vulnerability that occurs when a program writes more data to a buffer on the stack than it was allocated for, or in this case, when recursive operations consume stack space beyond available limits. The Criteria.parse() method in json-path v2.8.0 can be triggered to enter deep recursion when processing specially crafted input, eventually exhausting the call stack and causing the application to crash.

The attack can be executed over the network without requiring authentication or user interaction, making it accessible to remote attackers. However, the impact is limited to availability—there is no evidence that this vulnerability can lead to data exfiltration or code execution.

Root Cause

The root cause of this vulnerability lies in the Criteria.parse() method's handling of input data. The method does not implement adequate depth limits or recursion safeguards, allowing an attacker to provide input that triggers excessive recursive calls. This leads to stack exhaustion and ultimately a denial of service condition when the JVM's stack limit is exceeded.

Attack Vector

The attack vector is network-based, requiring an attacker to send malicious input to an application that uses the vulnerable json-path library. The attack requires no privileges or user interaction, making it relatively straightforward to exploit if an application exposes functionality that processes JSON path expressions from untrusted sources.

The vulnerability manifests when specially crafted input is passed to the Criteria.parse() method, triggering deep recursion that exhausts the call stack. For detailed technical analysis and discussion of the vulnerability mechanism, refer to the GitHub Issue Tracker Discussion.

Detection Methods for CVE-2023-51074

Indicators of Compromise

  • Unusual application crashes with StackOverflowError exceptions in Java logs
  • Repeated crashes or service restarts associated with JSON path processing operations
  • Malformed or excessively nested input patterns in application request logs

Detection Strategies

  • Monitor application logs for java.lang.StackOverflowError exceptions originating from json-path library classes
  • Implement input validation to detect and reject abnormally complex JSON path expressions before they reach the parser
  • Use application performance monitoring to detect unusual CPU or memory patterns associated with parsing operations

Monitoring Recommendations

  • Enable detailed logging for applications using json-path to capture stack traces during failures
  • Set up alerts for repeated StackOverflowError exceptions in production environments
  • Monitor service availability metrics for applications that process JSON path expressions from external sources

How to Mitigate CVE-2023-51074

Immediate Actions Required

  • Inventory all applications using json-path library and identify those running version 2.8.0
  • Implement input validation to limit the complexity of JSON path expressions accepted from untrusted sources
  • Consider applying application-level rate limiting to reduce the impact of potential denial of service attacks
  • Review and upgrade to a patched version of json-path when available

Patch Information

Users are advised to monitor the json-path GitHub repository for updates regarding fixes for this vulnerability. Check for newer releases that address the stack overflow issue in the Criteria.parse() method and upgrade to a patched version as soon as one becomes available.

Workarounds

  • Implement input validation to reject JSON path expressions that exceed reasonable complexity thresholds
  • Add timeout mechanisms around JSON path parsing operations to prevent long-running recursive calls
  • Consider increasing the JVM stack size as a temporary measure to raise the threshold for exploitation, though this does not eliminate the vulnerability
  • Isolate json-path processing in sandboxed environments where denial of service has limited impact on overall system availability

For applications that must continue using the affected version, implement application-level safeguards to validate and sanitize input before it reaches the vulnerable Criteria.parse() method. Monitor the upstream project for official patches and prioritize upgrading when a fix is released.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechJayway Jsonpath

  • SeverityMEDIUM

  • CVSS Score5.3

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • NVD-CWE-Other
  • Technical References
  • GitHub Issue Tracker Discussion
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English