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-2022-31679

CVE-2022-31679: Spring Data REST Information Disclosure

CVE-2022-31679 is an information disclosure vulnerability in VMware Spring Data REST that allows attackers to expose hidden entity attributes via crafted HTTP PATCH requests. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 18, 2026

CVE-2022-31679 Overview

CVE-2022-31679 is an information disclosure vulnerability affecting VMware Spring Data REST. Applications that allow HTTP PATCH access to resources exposed by Spring Data REST are vulnerable when an attacker has knowledge of the structure of the underlying domain model. By crafting specific HTTP requests, an attacker can expose hidden entity attributes that should not be accessible through the API.

Critical Impact

Attackers with knowledge of the domain model structure can bypass access controls to expose sensitive hidden entity attributes through crafted HTTP PATCH requests.

Affected Products

  • VMware Spring Data REST versions 3.6.0 - 3.5.5
  • VMware Spring Data REST versions 3.7.0 - 3.7.2
  • Older unsupported versions of VMware Spring Data REST

Discovery Timeline

  • 2022-09-21 - CVE CVE-2022-31679 published to NVD
  • 2025-05-22 - Last updated in NVD database

Technical Details for CVE-2022-31679

Vulnerability Analysis

This vulnerability represents an information exposure flaw in VMware Spring Data REST's handling of HTTP PATCH requests. Spring Data REST provides a mechanism to expose JPA repositories as RESTful endpoints automatically. The vulnerability exists in how the framework processes PATCH requests against these exposed resources.

When domain models contain hidden or internal attributes that are not intended to be exposed through the REST API, the PATCH request handling logic fails to properly enforce access restrictions on these attributes. An attacker who understands or can deduce the structure of the underlying domain model can craft HTTP PATCH requests that reference these hidden attributes, causing the application to inadvertently expose their values.

The attack requires network access and knowledge of the target application's domain model structure. While this prerequisite raises the complexity of exploitation, it does not require authentication, meaning any network-accessible attacker could potentially exploit this vulnerability if they can determine the domain model structure through reconnaissance or documentation leaks.

Root Cause

The root cause of this vulnerability lies in insufficient input validation and access control enforcement within the HTTP PATCH request handler in Spring Data REST. The framework does not adequately verify that requested entity attributes are permitted for access through the REST interface before processing PATCH operations. This allows crafted requests to bypass the intended access restrictions on hidden domain model attributes.

Attack Vector

The attack is conducted over the network via HTTP PATCH requests to Spring Data REST endpoints. An attacker must first obtain knowledge of the target application's domain model structure, which may be achieved through application documentation, error messages, or other reconnaissance techniques. Once the domain structure is understood, the attacker constructs HTTP PATCH requests that specifically reference hidden entity attributes.

The vulnerability manifests in the PATCH request processing logic where entity attribute access controls are not properly enforced. An attacker sends specially crafted HTTP PATCH requests to REST endpoints that expose Spring Data repositories. By including references to hidden attributes in the patch document, the attacker can trigger the application to reveal attribute values that should remain concealed. Detailed technical information can be found in the VMware Security Advisory CVE-2022-31679.

Detection Methods for CVE-2022-31679

Indicators of Compromise

  • Unusual HTTP PATCH requests targeting Spring Data REST endpoints with uncommon or internal attribute names
  • Increased volume of PATCH requests from single sources attempting to enumerate domain model attributes
  • Application logs showing access attempts to attributes not normally exposed through the REST API

Detection Strategies

  • Monitor HTTP PATCH request patterns for attempts to access non-standard entity attributes
  • Implement application-level logging for REST endpoint access with attribute-level auditing
  • Deploy web application firewall (WAF) rules to detect and block anomalous PATCH request payloads
  • Review application logs for error messages that may indicate attribute enumeration attempts

Monitoring Recommendations

  • Enable verbose logging for Spring Data REST endpoints to capture full request details
  • Set up alerting for PATCH requests containing unusual attribute references
  • Monitor for reconnaissance patterns such as sequential attribute probing attempts
  • Implement rate limiting on PATCH endpoints to slow down enumeration attacks

How to Mitigate CVE-2022-31679

Immediate Actions Required

  • Upgrade VMware Spring Data REST to a patched version as specified in the vendor advisory
  • Review and restrict HTTP PATCH access to Spring Data REST endpoints where possible
  • Implement additional access controls at the application layer to validate attribute access
  • Audit existing domain models for sensitive hidden attributes that could be exposed

Patch Information

VMware has released security patches addressing this vulnerability. Administrators should consult the VMware Security Advisory CVE-2022-31679 for specific version upgrade paths and patch details. It is recommended to upgrade from affected versions 3.6.0 - 3.5.5 and 3.7.0 - 3.7.2 to the latest patched releases.

Workarounds

  • Disable HTTP PATCH method access to Spring Data REST endpoints if not required by the application
  • Implement custom request interceptors to validate and filter PATCH request payloads before processing
  • Use Spring Security or similar frameworks to add explicit attribute-level access controls
  • Consider using projections to explicitly control which attributes are exposed via REST endpoints
bash
# Example: Disable PATCH method in Spring Security configuration
# Add to your security configuration to restrict PATCH access
# http.authorizeRequests()
#     .antMatchers(HttpMethod.PATCH, "/api/**").denyAll()

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechVmware Spring Data Rest

  • SeverityLOW

  • CVSS Score3.7

  • EPSS Probability0.23%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo
  • Vendor Resources
  • VMware Security Advisory CVE-2022-31679
  • Related CVEs
  • CVE-2021-22047: Spring Data REST Auth Bypass 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