You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unsanitized names may contain '..' which can result in path traversal ("ZipSlip").
326
+
327
+
You can suppress this warning when you properly sanitized the name.
328
+
</description>
329
+
<priority>4</priority>
330
+
<properties>
331
+
<propertyname="xpath">
332
+
<value>
333
+
<![CDATA[
334
+
//MethodCall[pmd-java:matchesSig('java.util.zip.ZipEntry#getName()') or pmd-java:matchesSig('org.apache.commons.compress.archivers.ArchiveEntry#getName()')]
335
+
]]>
336
+
</value>
337
+
</property>
338
+
</properties>
339
+
</rule>
340
+
319
341
<rulename="JavaObjectSerializationIsUnsafe"
320
342
language="java"
321
343
message="Using Java Object (De-)Serialization is unsafe and has led to too many security vulnerabilities"
0 commit comments