Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

openid/python-openid
master @ afa6ada
4
Fixes
0
CVEs
HIGH
Peak severity
33.3%
Coverage
Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
openid/association.py: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

XXE: Unsafe default configuration of the XML parser allows resolution of external entities when parsing XRDS documents, potentially exposing sensitive local system files. Developers must ensure XML parser instances explicitly disable external entity resolution.
Timing Attack: The use of standard equality operators for verifying signatures introduces timing side-channels, allowing an attacker to deduce expected signatures iteratively. Constant-time comparison helpers must be systematically applied for all signature checks.
Cryptography: Improper padding and representation of Diffie-Hellman shared secrets before hashing can lead to specification non-compliance and interoperability or validation weaknesses. Proper padding (such as `btwoc` formatting) must be enforced.