Summary
The cryptography==46.0.7 pin in hermes-agent 0.18.x prevents security updates for a known HIGH vulnerability (GHSA-537c-gmf6-5ccf).
Vulnerability Details
- Package: cryptography
- Installed version: 46.0.7
- Fixed version: 48.0.1+
- GHSA: GHSA-537c-gmf6-5ccf
- Issue: Vulnerable OpenSSL included in cryptography wheels
Current State
Requires-Dist: cryptography==46.0.7
This causes:
- Security vulnerability - exploitation via vulnerable bundled OpenSSL
- Dependency conflicts -
pyOpenSSL requires cryptography>=49.0.0 for secure versions
Workaround
Manually upgrading pyOpenSSL to 26.3.0 pulls in cryptography==49.0.0, but this reverts after pipx reinstall hermes-agent.
Proposed Fix
Change to flexible constraint:
Requires-Dist: cryptography>=46.0.7,<50
This allows security updates while maintaining compatibility.
Environment
- hermes-agent: 0.18.2
- Python: 3.12.3
Summary
The
cryptography==46.0.7pin in hermes-agent 0.18.x prevents security updates for a known HIGH vulnerability (GHSA-537c-gmf6-5ccf).Vulnerability Details
Current State
Requires-Dist: cryptography==46.0.7This causes:
pyOpenSSLrequirescryptography>=49.0.0for secure versionsWorkaround
Manually upgrading
pyOpenSSLto 26.3.0 pulls incryptography==49.0.0, but this reverts afterpipx reinstall hermes-agent.Proposed Fix
Change to flexible constraint:
This allows security updates while maintaining compatibility.
Environment