TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Python Pickle Security Problems and Solutions

2 pointsby travcunnover 9 years ago

1 comment

dalkeover 9 years ago
Plus, for the last many years there&#x27;s been a big warning at the start of the Python documentation. Quoting from <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;pickle.html?highlight=pickle#module-pickle" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;library&#x2F;pickle.html?highlight=pick...</a> :<p>&gt; The pickle module is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.<p>(In the 2.6 documentation, the warning was not quite at the top of the module. It moved up for the 2.7 release.)
评论 #10595363 未加载