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

Potential Issue regarding Code Injection #44951

Open
nevercodecorrect opened this issue May 10, 2024 · 4 comments
Open

Potential Issue regarding Code Injection #44951

nevercodecorrect opened this issue May 10, 2024 · 4 comments

Comments

@nevercodecorrect
Copy link

In code here, it directly eval the value from environment variable. A malicous local actor could set something like export ALIGNMENT_PHOTOGRAMMETRY='os.system("touch rickroll")' to execute arbitrary commands. It would be better to use ast.literal_eval here.
This issue is similar to CVE-2022-2054.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 10, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

A new Issue was created by @nevercodecorrect.

@smuzaffar, @makortel, @rappoccio, @Dr15Jones, @antoniovilela, @sextonkennedy can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@makortel
Copy link
Contributor

assign Alignment/MuonAlignmentAlgorithms

@cmsbuild
Copy link
Contributor

New categories assigned: alca

@saumyaphor4252,@perrotta,@consuegs you have been requested to review this Pull request/Issue and eventually sign? Thanks

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

No branches or pull requests

3 participants