Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2021-22044

CVE-2021-22044: Spring Cloud OpenFeign Exposure Flaw

CVE-2021-22044 is an information disclosure vulnerability in VMware Spring Cloud OpenFeign that involuntarily exposes endpoints through Feign client interfaces. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-22044 Overview

CVE-2021-22044 is an information disclosure vulnerability affecting Spring Cloud OpenFeign, a declarative REST client for Spring Boot applications. Applications using type-level @RequestMapping annotations over Feign client interfaces can inadvertently expose endpoints corresponding to @RequestMapping-annotated interface methods. This misconfiguration flaw allows unauthorized network-based access to internal endpoints that were intended to remain private.

Critical Impact

Unintended exposure of internal API endpoints may allow attackers to access sensitive data or functionality that should not be publicly accessible, potentially leading to data breaches or unauthorized system access.

Affected Products

  • VMware Spring Cloud OpenFeign 3.0.0 to 3.0.4
  • VMware Spring Cloud OpenFeign 2.2.0.RELEASE to 2.2.9.RELEASE
  • Older unsupported versions of Spring Cloud OpenFeign

Discovery Timeline

  • 2021-10-28 - CVE-2021-22044 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-22044

Vulnerability Analysis

This vulnerability stems from improper handling of @RequestMapping annotations when applied at the type level on Feign client interfaces. Spring Cloud OpenFeign is designed to simplify HTTP API clients by allowing developers to define interfaces with Spring MVC annotations. However, when @RequestMapping is used at the class/interface level on a Feign client, the framework incorrectly registers these as web endpoints in the application context.

The vulnerability is categorized under CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) and CWE-668 (Exposure of Resource to Wrong Sphere). This means that internal service-to-service communication endpoints become accessible to external actors through the network, bypassing intended access controls.

Root Cause

The root cause lies in the framework's annotation processing logic. When Spring scans for @RequestMapping annotations to register HTTP endpoints, it does not properly distinguish between Feign client interfaces (which are meant for outbound requests) and actual controller classes (which should handle inbound requests). As a result, methods annotated with @RequestMapping on Feign interfaces are registered as accessible endpoints in the Spring Web context.

Attack Vector

An attacker can exploit this vulnerability by sending HTTP requests to the unintentionally exposed endpoints. The attack requires network access to the vulnerable application and no authentication or user interaction is required. The exposed endpoints may reveal sensitive information, internal API responses, or configuration data depending on what the Feign client was designed to consume.

The vulnerability is exploited through standard HTTP requests to the application's exposed port. For example, if a Feign client interface has @RequestMapping("/internal-api") at the type level with methods like getUsers(), an attacker could directly access /internal-api/users from the application's web interface, receiving responses that were meant only for internal service communication.

Detection Methods for CVE-2021-22044

Indicators of Compromise

  • Unexpected HTTP requests to endpoints that match Feign client interface method mappings
  • Access logs showing requests to internal API paths from external IP addresses
  • Authentication failures or unusual access patterns on service-to-service communication endpoints
  • Elevated traffic to paths typically reserved for backend microservice communication

Detection Strategies

  • Review application logs for requests to endpoints matching Feign client @RequestMapping paths
  • Audit Spring Boot actuator endpoints (/mappings) to identify unexpectedly registered endpoints
  • Implement anomaly detection for access to internal API paths from external sources
  • Use application security scanning tools to enumerate exposed endpoints and compare against intended public API surface

Monitoring Recommendations

  • Enable detailed access logging for all HTTP endpoints to detect unauthorized access attempts
  • Monitor for unusual traffic patterns to paths containing internal API naming conventions
  • Set up alerts for access to Feign client endpoint paths from non-internal IP ranges
  • Regularly audit the application's endpoint registry using Spring Boot Actuator's /mappings endpoint

How to Mitigate CVE-2021-22044

Immediate Actions Required

  • Upgrade Spring Cloud OpenFeign to version 3.0.5 or later for the 3.x branch
  • Upgrade Spring Cloud OpenFeign to version 2.2.10.RELEASE or later for the 2.2.x branch
  • Review all Feign client interfaces for type-level @RequestMapping annotations
  • Remove type-level @RequestMapping annotations from Feign client interfaces as an immediate workaround

Patch Information

VMware has released patched versions addressing this vulnerability. Users should upgrade to Spring Cloud OpenFeign 3.0.5 or later for applications using the 3.x release train, or 2.2.10.RELEASE or later for applications on the 2.2.x release train. Detailed patch information is available in the VMware Security Advisory CVE-2021-22044.

Workarounds

  • Remove type-level @RequestMapping annotations from Feign client interfaces and apply them at the method level instead
  • Use @FeignClient path attribute instead of @RequestMapping at the type level to define base paths
  • Implement network segmentation to restrict access to internal service endpoints
  • Configure Spring Security to explicitly deny access to unintended endpoints
bash
# Configuration example - use @FeignClient path attribute instead of @RequestMapping
# Before (vulnerable):
# @FeignClient(name = "user-service")
# @RequestMapping("/api/users")
# public interface UserClient { ... }

# After (secure):
# @FeignClient(name = "user-service", path = "/api/users")
# public interface UserClient { ... }

# Verify exposed endpoints using Spring Boot Actuator
curl http://localhost:8080/actuator/mappings | jq '.contexts.application.mappings.dispatcherServlets'

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 Cloud Openfeign

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.33%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-200

  • CWE-668
  • Vendor Resources
  • VMware Security Advisory CVE-2021-22044
  • Latest CVEs
  • CVE-2025-52793: Esselink.nu Settings CSRF Vulnerability

  • CVE-2025-52772: Virtual Moderator CSRF Vulnerability

  • CVE-2025-48279: WC MyParcel Belgium XSS Vulnerability

  • CVE-2025-39381: KiotViet Sync CSRF 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