mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
fix docs references
This commit is contained in:
committed by
GitHub
parent
652c7ff1ed
commit
c03ba2cc13
@@ -43,13 +43,13 @@ instance, if it were created by something like <code>tar -cf archive.tar
|
||||
outside the destination directory.
|
||||
</p>
|
||||
|
||||
<sample src="examples/zip_slip_bad.py" />
|
||||
<sample src="examples/zip_slip_bad.rb" />
|
||||
|
||||
<p>To fix this vulnerability, we need to check that the path does not
|
||||
contain any <code>".."</code> elements in it.
|
||||
</p>
|
||||
|
||||
<sample src="examples/zip_slip_good.py" />
|
||||
<sample src="examples/zip_slip_good.rb" />
|
||||
|
||||
</example>
|
||||
<references>
|
||||
@@ -63,12 +63,16 @@ OWASP:
|
||||
<a href="https://owasp.org/www-community/attacks/Path_Traversal">Path Traversal</a>.
|
||||
</li>
|
||||
<li>
|
||||
Python Library Reference:
|
||||
<a href="https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extract">TarFile.extract</a>.
|
||||
class
|
||||
<a href="https://docs.ruby-lang.org/en/2.4.0/Gem/Package/TarReader.html">Gem::Package::TarReader</a>.
|
||||
</li>
|
||||
<li>
|
||||
Python Library Reference:
|
||||
<a href="https://docs.python.org/3/library/tarfile.html#tarfile.TarFile.extractall">TarFile.extractall</a>.
|
||||
class
|
||||
<a href="https://ruby-doc.org/stdlib-2.4.0/libdoc/zlib/rdoc/Zlib/GzipReader.html">Zlib::GzipReader</a>.
|
||||
</li>
|
||||
<li>
|
||||
class
|
||||
<a href="https://www.rubydoc.info/github/rubyzip/rubyzip/Zip/File">Zip::File</a>.
|
||||
</li>
|
||||
|
||||
</references>
|
||||
|
||||
Reference in New Issue
Block a user