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

Add vuln docker CVE-2020-7699 #390

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

jiexixijie
Copy link

Signed-off-by: jiexixijie [email protected]

NodeJS expresss-fileupload模块原型链污染漏洞(CVE-2022-7699)

Signed-off-by: jiexixijie <[email protected]>
Copy link
Member

@phith0n phith0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感谢,提了一些参考意见。

node/CVE-2020-7699/Dockerfile Outdated Show resolved Hide resolved
"description": "CVE-2020-7699",
"main": "app.js",
"scripts": {
"start": "cd www/ && node app.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可以直接将WORKDIR设置成/usr/src/www,没必要在cd了。

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此处没有修改,WORKDIR设置成/usr/src/www,我试了下npm加载的node模块也会下载该目录下,后续挂载www文件时会覆盖这些模块导致起不来。目前没想到好办法。

node/CVE-2020-7699/README.md Outdated Show resolved Hide resolved
node/CVE-2020-7699/docker-compose.yml Outdated Show resolved Hide resolved
Signed-off-by: jiexixijie <[email protected]>
Signed-off-by: jiexixijie <[email protected]>
Signed-off-by: jiexixijie <[email protected]>
Signed-off-by: jiexixijie <[email protected]>
Signed-off-by: jiexixijie <[email protected]>
Signed-off-by: jiexixijie <[email protected]>
@jiexixijie
Copy link
Author

感谢p牛指正,修改了上述的一些问题。

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

3 participants