Skip to content

Conversation

@omri-alon24
Copy link
Contributor

@omri-alon24 omri-alon24 commented Mar 3, 2024

PR types

Others

PR changes

Others

Description

Fix CWE 502 : https://cwe.mitre.org/data/definitions/502.html

The paddlepaddle package is vulnerable to Deserialization of Untrusted Data. The load() and the load_program_state() functions in the io.py file uses the unsafe pickle.load() function to deserialize user-supplied file. A remote attacker can exploit this behavior by supplying specially-crafted input which, when deserialized, will result in arbitrary code execution on the affected machine.

@paddle-bot
Copy link

paddle-bot bot commented Mar 3, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@CLAassistant
Copy link

CLAassistant commented Mar 3, 2024

CLA assistant check
All committers have signed the CLA.

@paddle-bot paddle-bot bot added the contributor External developers label Mar 3, 2024
@paddle-bot
Copy link

paddle-bot bot commented Mar 3, 2024

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

wanghuancoder
wanghuancoder previously approved these changes Mar 4, 2024
Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@luotao1
Copy link
Contributor

luotao1 commented Mar 5, 2024

image @omri-alon24 Please sign the CLA

@omri-alon24
Copy link
Contributor Author

omri-alon24 commented Mar 5, 2024 via email

@luotao1 luotao1 closed this Mar 5, 2024
@luotao1 luotao1 reopened this Mar 5, 2024
@luotao1
Copy link
Contributor

luotao1 commented Mar 5, 2024

There are two IDs in this PR, both two ID should sign CLA:

  • omri-alon
image
  • omri-alon24
image

Copy link
Contributor

@wanghuancoder wanghuancoder left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghuancoder wanghuancoder merged commit 21f4074 into PaddlePaddle:develop Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants