Skip to content

Java: Timing attack#8686

Open
ahmed-farid-dev wants to merge 41 commits intogithub:mainfrom
ahmed-farid-dev:timing-attacks
Open

Java: Timing attack#8686
ahmed-farid-dev wants to merge 41 commits intogithub:mainfrom
ahmed-farid-dev:timing-attacks

Conversation

@ahmed-farid-dev
Copy link
Contributor

A constant-time algorithm should be used for checking the value of info. In other words, the comparison time should not depend on the content of the input, Otherwise, an attacker may be able to implement a timing attacks that may reveal the value of sensitive info

@ahmed-farid-dev
Copy link
Contributor Author

ahmed-farid-dev commented Apr 13, 2022

Hi, any update ?

@smowton
Copy link
Contributor

smowton commented Apr 13, 2022

Security lab are making their initial assessment. That can take a couple of weeks.

ahmed-farid-dev and others added 23 commits May 26, 2022 01:37
…nstSensitiveInfo.ql to java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstSensitiveInfo/TimingAttackAgainstSensitiveInfo.ql
…nstSensitiveInfo.qhelp to java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstSensitiveInfo/TimingAttackAgainstSensitiveInfo.qhelp
…ava to java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstSensitiveInfo/SafeComparison.java
….java to java/ql/src/experimental/Security/CWE/CWE-208/TimingAttackAgainstSensitiveInfo/UnsafeComparison.java
… to java/ql/src/experimental/semmle/code/java/security/TimingAttack.qll
@ahmed-farid-dev
Copy link
Contributor Author

Hi, It's been five months. Any update?

@smowton
Copy link
Contributor

smowton commented Sep 13, 2022

We will review the PR here once the conversation at github/securitylab#664 about what the query should do has been resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants