Lucene search

K
githubGitHub Advisory DatabaseGHSA-4926-QPXG-6R3W
HistoryMay 24, 2022 - 7:19 p.m.

Exposure of Resource to Wrong Sphere in Spring Data REST

2022-05-2419:19:03
CWE-668
GitHub Advisory Database
github.com
13
spring data rest
http resources
custom controllers
base api path
unauthorized access
spring security configuration

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.001

Percentile

36.2%

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 configurations

Vulners
Node
org.springframework.dataspring-data-rest-coreRange3.5.03.5.5
OR
org.springframework.dataspring-data-rest-coreRange3.4.03.4.13
VendorProductVersionCPE
org.springframework.dataspring-data-rest-core*cpe:2.3:a:org.springframework.data:spring-data-rest-core:*:*:*:*:*:*:*:*

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

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

EPSS

0.001

Percentile

36.2%

Related for GHSA-4926-QPXG-6R3W