CVE-2021-22047
JSON

5.3medium

Exposure of Resource to Wrong Sphere in Spring Data REST

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
0.77% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
vmware
Also known as
GHSA-4926-qpxg-6r3w

Description

In Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions, 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.

Affected

Product or packageVersionsReported by
Spring Data RESTSpring Data REST versions 3.4.x prior to 3.4.14+ ,3.5.x prior to 3.5.6+ and old unsupported versionsCVE List
org.springframework.data:spring-data-rest-core (Maven)from 3.4.0 before 3.4.14, from 3.5.0 before 3.5.6GitHub Advisory Database
vmware spring_data_restfrom 3.4.0 up to 3.4.13, from 3.5.0 up to 3.5.5NVD

All scores

GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

In Spring Data REST versions 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, and older unsupported versions, 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.

NVD (es)

En Spring Data REST versiones 3.4.0 - 3.4.13, 3.5.0 - 3.5.5, y versiones anteriores no soportadas, los recursos HTTP implementados por controladores personalizados que usan una ruta de API base configurada y un mapeo de peticiones a nivel de tipo de controlador están expuestos adicionalmente bajo URIs que pueden ser potencialmente expuestos para un acceso no autorizado dependiendo de la configuración de Spring Security

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22047 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-4926-qpxg-6r3w changed 2023-11-08CC-BY-4.0
NVDCVE-2021-22047 changed 2026-06-17Public domain