PowSyBl powsybl-core
PowSyBl: Command Injection in LocalCommandExecutor-s
PowSyBl (Power System Blocks) is a framework to build power system oriented software. Prior to 7.2.2, UnixLocalCommandExecutor and WindowsLocalCommandExecutor concatenate command arguments and environment variables into strings interpreted through bash -c or cmd /c without sufficient escaping. Attacker-controlled values reaching UnixLocalCommandExecutor.execute, WindowsLocalCommandExecutor.execute, LocalComputationManager.execute, ParallelLoadFlowActionSimulator.run, ActionSimulatorTool.run, AmplModelRunner.run, or AmplModelRunner.runAsync can break out of the intended command and execute arbitrary shell commands as the JVM user. The affected itools paths include action-simulator with task-count, security-analysis with external, and dynamic-security-analysis. Downstream CLI tools, libraries, REST front ends, and multi-tenant grid-analysis services that forward less-trusted contingency identifiers or computation parameters into these APIs can expose the injection remotely. This issue is fixed in version 7.2.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.2.2
Fixed in 7.2.2
Mitigation
Upgrade powsybl-core to 7.2.2 or later.
References
- Vendor advisory github.com/powsybl/powsybl-core/security/advis…
- Patch github.com/powsybl/powsybl-core/pull/3973
- Patch github.com/powsybl/powsybl-core/commit/1746126…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.