Class SlipAttackException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SlipAttackException
    extends FrontendException
    Exception thrown when an archive contains an entry that would cause writing out of the target directory (e.g. '../../evil.sh') during exploding. This vulnerability is known as the Zip Slip Vulnerability.
    Since:
    1.1.2
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SlipAttackException​(java.lang.String entryName)
      Builds an exception with the given entry name.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SlipAttackException

        public SlipAttackException​(java.lang.String entryName)
        Builds an exception with the given entry name.
        Parameters:
        entryName - Entry name.