VDB
KO
MEDIUM 5.6

GHSA-7f3f-x5f5-79gw

Salt's file contents overwrite the VirtKey class

Details

File contents overwrite the VirtKey class is called when “on-demand pillar” data is requested and uses un-validated input to create paths to the “pki directory”. The functionality is used to auto-accept Minion authentication keys based on a pre-placed “authorization file” at a specific location and is present in the default configuration.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / salt
Introduced in: 3007.0rc1 Fixed in: 3007.4
Fix pip install --upgrade 'salt>=3007.4'
PyPI / salt
Introduced in: 3006.0rc1 Fixed in: 3006.12
Fix pip install --upgrade 'salt>=3006.12'

References