| Package | Affected versions | Patched versions |
|---|---|---|
| cryptography | ≥ 45.0.0, < 46.0.7 | 46.0.7 |
| cryptography | ≥ 45.0.0, < 46.0.7 | 46.0.7 |
If a non-contiguous buffer was passed to APIs which accepted Python buffers (e.g. Hash.update()), this could lead to buffer overflows. For example:
h = Hash(SHA256())
b.update(buf[::-1])
would read past the end of the buffer on Python >3.11
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free