-
Notifications
You must be signed in to change notification settings - Fork 641
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
Security bug about prototype pollution #1331
Closed
ChenKS12138 opened this issue
Nov 25, 2020
· 0 comments
· Fixed by #1330, AppBox-project/server#54 or pixiebrix/pixiebrix-extension#292 · May be fixed by WontonSam/cachimanexpress.js-Design-Patterns-Third-Edition#190 or WontonSam/cachimanexpress.js-Design-Patterns-Third-Edition#206
Closed
Security bug about prototype pollution #1331
ChenKS12138 opened this issue
Nov 25, 2020
· 0 comments
· Fixed by #1330, AppBox-project/server#54 or pixiebrix/pixiebrix-extension#292 · May be fixed by WontonSam/cachimanexpress.js-Design-Patterns-Third-Edition#190 or WontonSam/cachimanexpress.js-Design-Patterns-Third-Edition#206
Comments
4 tasks
This was referenced Mar 11, 2021
striezel
added a commit
to striezel-stash/rustsec-audit-check
that referenced
this issue
Mar 13, 2023
Fixes a prototype pollution in nunjucks. See <mozilla/nunjucks#1331> for more information.
striezel
added a commit
to striezel-stash/rustsec-audit-check
that referenced
this issue
Mar 13, 2023
Fixes a prototype pollution in nunjucks. See <mozilla/nunjucks#1331> for more information.
This was referenced Jul 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a security bug. The current version of nunjucks can be attacked by prototype pollution.
What I expected is
this is payload2 content is function(){ return global.process.mainModule.require('child_process').execSync('ls') }()
, but the function returnsthis is payload2 content is main.js node_modules package.json yarn.lock
.Closes #1330 .
Environment
The sample code is as follows.
The text was updated successfully, but these errors were encountered: