Repository navigation
v0.6.2 #215
ajshedivy
announced in
Announcements
v0.6.2
#215
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
IBM i MCP Server v0.6.2
Overview
SELECTstatements can no longer run CL commands throughQSYS2.QCMDEXCwhen read-only mode is onThis is a security patch. All deployments that run with read-only mode on (the default) should upgrade. No configuration changes.
Bug Fixes
Read-only mode no longer allows
QCMDEXCinsideSELECTThe fix applies to
execute_sql, read-only YAML tools, and theibmi sqlcommand.Read-only validation checked only the outer statement type. A
SELECTthat called theQSYS2.QCMDEXCscalar function passed validation, and Db2 for i executed the embedded CL command:The validator now scans every token of
SELECTandWITHstatements and rejects calls toQCMDEXCand the other blocked operations, wherever they appear: the select list, subqueries, CTEs,CASEexpressions,ORDER BY, and function arguments. The delimited-identifier formQSYS2."QCMDEXC"(...)is also rejected. These queries now fail with:Queries that read from
QSYS2views and table functions, such asTABLE(QSYS2.ACTIVE_JOB_INFO()), are unaffected.Thanks to @william-xiang for the report and the initial fix.
Dependency alerts
fast-uri3.1.8); the remaining fixes are in the example apps and Python agents (#185)What's Changed
Full Changelog: v0.6.1...v0.6.2
This discussion was created from the release v0.6.2.
All reactions