-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix CWE 502 #62345
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 CWE 502 #62345
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
|
❌ The PR is not created using PR's template. You can refer to this Demo. |
wanghuancoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@omri-alon24 Please sign the CLA
|
|
I signed multiple times, but it keep saying 'not signed yet'
בתאריך יום ג׳, 5 במרץ 2024, 04:37, מאת Tao Luo ***@***.***>:
… image.png (view on web)
<https://github.com/PaddlePaddle/Paddle/assets/6836917/4bcaa1dd-9bad-4f22-8c9c-bcdefa2130d3>
@omri-alon24 <https://github.com/omri-alon24> Please sign the CLA
—
Reply to this email directly, view it on GitHub
<#62345 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIIGAHU6X7TT6DAQMVPTKU3YWUVWJAVCNFSM6AAAAABEEDX2X2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXHA2DCNJZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
wanghuancoder
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM



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.