HIGH 7.5

CVE-2021-22044

Exposure of Resource to Wrong Sphere in Spring Cloud OpenFeign

Description

In Spring Cloud OpenFeign 3.0.0 to 3.0.4, 2.2.0.RELEASE to 2.2.9.RELEASE, and older unsupported versions, applications using type-level @RequestMappingannotations over Feign client interfaces, can be involuntarily exposing endpoints corresponding to @RequestMapping-annotated interface methods.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.cloud » spring-cloud-openfeign-core
>= 2.2.0, < 2.2.10>= 3.0.0, < 3.0.5
2.2.10, 3.0.5

Blast radius

1affected artifacts
15affected versions
388dependent artifacts (est.)
5,718dependent versions

57% of the dependent artifacts (225) still pull an affected version in their latest release.

DepthDependent versions
Direct
289
2 hops
3,087
3 hops
1,974
4 hops
303
5 hops
42
6 hops
23

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.