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

fix Bandit scan issue b313-b320 #8717

Open
dongpingx opened this issue Aug 29, 2024 · 0 comments
Open

fix Bandit scan issue b313-b320 #8717

dongpingx opened this issue Aug 29, 2024 · 0 comments
Labels
status: new The issue status: new for creation

Comments

@dongpingx
Copy link
Contributor

No description provided.

@dongpingx dongpingx added the status: new The issue status: new for creation label Aug 29, 2024
dongpingx added a commit to dongpingx/acrn-hypervisor that referenced this issue Aug 29, 2024
This patch is to fix Bandit scan issue b313-b320 which is vulnerable to
XML attacks when parsing untrusted XML data.

I replace lxml.etree with the equivalent defusedxml package.

I confirm it works after making a Bandit scan, building the configurator
and compiling the acrn.

Signed-off-by: dongpingx <[email protected]>
Tracked-On: projectacrn#8717
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new The issue status: new for creation
Projects
None yet
Development

No branches or pull requests

1 participant