Description
A vulnerability was determined in baomidou dynamic-datasource 2.5.0. Affected by this vulnerability is the function DsSpelExpressionProcessor#doDetermineDatasource of the file dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/processor/DsSpelExpressionProcessor.java of the component StandardEvaluationContext/SpelExpressionParser. This manipulation causes injection. The attack may be initiated remotely. Patch name: 273fcedaee984c08197c0890f14190b86ab7e0b8. It is recommended to apply a patch to fix this issue.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| baomidou | dynamic-datasource | 2.5.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | com.baomidou:dynamic-datasource-spring | <= 4.5.0 | — | GHSA-6rmm-pg23-5f8q |
References
- VDB-359624 | baomidou dynamic-datasource StandardEvaluationContext/SpelExpressionParser DsSpelExpressionProcessor.java DsSpelExpressionProcessor#doDetermineDatasource injection vdb-entry technical-description
- VDB-359624 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #798600 | baomidou dynamic-datasource 2.5.0+ SpEL Injection third-party-advisory
- https://github.com/baomidou/dynamic-datasource/issues/766 issue-tracking
- https://github.com/baomidou/dynamic-datasource/pull/767 issue-tracking patch
- https://github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8 patch
- https://github.com/baomidou/dynamic-datasource/ product