GHSA-6v73-fgf6-w5j7

Suggest an improvement
Source
https://github.com/advisories/GHSA-6v73-fgf6-w5j7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-6v73-fgf6-w5j7/GHSA-6v73-fgf6-w5j7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6v73-fgf6-w5j7
Aliases
Published
2022-04-03T00:00:59Z
Modified
2024-02-16T08:19:04.564865Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Spring Cloud Function Code Injection with a specially crafted SpEL as a routing expression
Details

In Spring Cloud Function versions 3.1.6, 3.2.2 and older unsupported versions, when using routing functionality it is possible for a user to provide a specially crafted SpEL as a routing-expression that may result in remote code execution and access to local resources.

Database specific
{
    "nvd_published_at": "2022-04-01T23:15:00Z",
    "severity": "CRITICAL",
    "github_reviewed_at": "2022-04-05T18:48:10Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-917",
        "CWE-94"
    ]
}
References

Affected packages

Maven / org.springframework.cloud:spring-cloud-function-context

Package

Name
org.springframework.cloud:spring-cloud-function-context
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.cloud/spring-cloud-function-context

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.2.0
Fixed
3.2.3

Affected versions

3.*

3.2.0
3.2.1
3.2.2

Maven / org.springframework.cloud:spring-cloud-function-context

Package

Name
org.springframework.cloud:spring-cloud-function-context
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.cloud/spring-cloud-function-context

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.7

Affected versions

1.*

1.0.0.RELEASE
1.0.1.RELEASE
1.0.2.RELEASE

2.*

2.0.0.RELEASE
2.0.1.RELEASE
2.0.2.RELEASE
2.1.0.RELEASE
2.1.1.RELEASE

3.*

3.0.0.RELEASE
3.0.1.RELEASE
3.0.2.RELEASE
3.0.3.RELEASE
3.0.4.RELEASE
3.0.5.RELEASE
3.0.6.RELEASE
3.0.7.RELEASE
3.0.8.RELEASE
3.0.9.RELEASE
3.0.10.RELEASE
3.0.11.RELEASE
3.0.12.RELEASE
3.0.13.RELEASE
3.0.14.RELEASE
3.1.0
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
3.1.6