You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/04/03 14:23:00 UTC
[jira] [Commented] (PDFBOX-5798) Observable Timing Discrepancy (Timing Attack)
[ https://issues.apache.org/jira/browse/PDFBOX-5798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17833597#comment-17833597 ]
ASF subversion and git services commented on PDFBOX-5798:
---------------------------------------------------------
Commit 1916786 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1916786 ]
PDFBOX-5798: use MessageDigest.isEqual() to prevent timing attacks
> Observable Timing Discrepancy (Timing Attack)
> ---------------------------------------------
>
> Key: PDFBOX-5798
> URL: https://issues.apache.org/jira/browse/PDFBOX-5798
> Project: PDFBox
> Issue Type: Bug
> Reporter: Simon Steiner
> Priority: Major
>
> A static analyse tool is reporting:
> An attacker can guess the secret value of digest because it is compared using java.util.Arrays.equals, which is vulnerable to timing attacks. Use java.security.MessageDigest.isEqual to compare values securely.
> pdfbox/src/main/java/org/apache/pdfbox/pdmodel/encryption/StandardSecurityHandler.java
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org