Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent RCE via inventory plugins #99

Merged
merged 2 commits into from
Mar 14, 2024

Conversation

felixfontein
Copy link
Collaborator

SUMMARY

Fixing a potential RCE when using the inventory plugins.

Ref: https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/
Ref: https://forum.ansible.com/t/remote-code-execution-in-ansible-dynamic-inventory-plugins/4332/3

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

inventory plugins

Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.25%. Comparing base (88952df) to head (9a25e1f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   98.23%   98.25%   +0.01%     
==========================================
  Files          32       32              
  Lines        2325     2351      +26     
  Branches      252      252              
==========================================
+ Hits         2284     2310      +26     
  Misses         19       19              
  Partials       22       22              
Flag Coverage Δ
sanity 27.28% <33.33%> (+0.08%) ⬆️
units 98.11% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@felixfontein felixfontein merged commit 2f88a9a into ansible-collections:main Mar 14, 2024
33 checks passed
@felixfontein felixfontein deleted the rce branch March 14, 2024 19:08
@felixfontein
Copy link
Collaborator Author

@markuman thanks a lot for reviewing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants