aiogram is vulnerable to Observable Timing Discrepancy
15
CVE Score
Low
Observable Timing Discrepancy
Affected versions of this package are vulnerable to observable timing discrepancies in signature validation. The utils.web_app module compares the calculated HMAC with the provided hash using ==, which can inadvertently leak timing information and expose the application to timing attacks. While verification still functions correctly, the non-constant-time comparison creates a side channel risk. The patch replaces == with hmac.compare_digest, ensuring constant-time comparison and mitigating potential timing-based exploits.
Upgrade the aiogram library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
3.0.0 - 3.21.0
Fixed in 3.22.0aiogram is vulnerable to Observable Timing Discrepancy in versions 3.0.0 - 3.21.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.