Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.data/spring-data-rest-core
  4. ›
  5. CVE-2021-22047

CVE-2021-22047: Exposure of Resource to Wrong Sphere

October 28, 2021 (updated November 1, 2021)

In Spring Data REST, HTTP resources implemented by custom controllers using a configured base API path and a controller type-level request mapping are additionally exposed under URIs that can potentially be exposed for unauthorized access depending on the Spring Security configuration.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-22047
  • tanzu.vmware.com/security/cve-2021-22047

Code Behaviors & Features

Detect and mitigate CVE-2021-22047 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.4.0 up to 3.4.13, all versions starting from 3.5.0 up to 3.5.5

Fixed versions

  • 3.4.14
  • 3.5.6

Solution

Upgrade to versions 3.4.14, 3.5.6 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere

Source file

maven/org.springframework.data/spring-data-rest-core/CVE-2021-22047.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.